-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add labels automatically on PR creation or update #3187
base: master
Are you sure you want to change the base?
Conversation
csouchet
commented
Oct 8, 2024
- Add step on workflow of metadata PR checking, to add labels
- Add labeler config
- Add step on workflow of metadata PR checking, to add labels
5852284
to
031c255
Compare
I'm not currently convinced about using this automation. Isn't it possible to configure only the branch name? That would simplify maintenance. I've known about the labeler action for a while and haven't seen a project where it was useful on PR. Do you have any examples to share where you've seen value in adding such automation? Can we discuss this in person? |
- head-branch: ['^fix/'] | ||
|
||
# Add 'build' label to any PR where the head branch name starts with `build/` | ||
build: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have such a label
- 'vite.config.js' | ||
|
||
# Add 'ci' label to any PR where the head branch name starts with `ci/` | ||
github_actions: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This label is currently used to identify bump of gh actions only. PR related to CI changes are labeled with "core".
Labels are used to generate the release notes and until now, we didn't consider to split CI changes from other "chore" changes
- '.github/**/*' # Any change to files within '.github' folder or any subfolders | ||
|
||
# Add 'defect' label to any PR where the head branch name starts with `defect/` | ||
defect: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have such a label