Conversation
Adds a new (test) action to automatically label PRs based on their review status, e.g.: status:needs-triage status:approved status:on-hold status:needs-review
| enable-prlabel-automation: true | ||
| enable-prreviewer-frontmatter: false | ||
| enable-welcomemessage: false | ||
| welcome-message: "Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md." |
There was a problem hiding this comment.
enable-welcomemessage would need to true for this to be displayed
There was a problem hiding this comment.
Yes, it's intentionally disabled for the time being. The only thing that this is doing is the labeling.
| welcome-message: "Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md." | ||
| prmerge-requireallchecks: false | ||
| prmerge-requirereviewcount: 1 | ||
| prmerge-method: 'merge' |
There was a problem hiding this comment.
Do we need these settings if merge automation is disabled?
There was a problem hiding this comment.
We do. On my testing, for some reason the labeler part didn't work without having all the settings in the config, even if there were default settings by the action itself already set.
|
This pull request does not have a backport label. Could you fix it @roaksoax? 🙏
|
|
|
What does this PR do?
Adds a new (test) action to automatically label PRs based on their review status, e.g.:
status:needs-triage
status:approved
status:on-hold
status:needs-review
Why is it important/What is the impact to the user?
It does not impact the user but helps automatically label PR's based on their status.
Checklist
- [ ] I have commented my code, particularly in hard-to-understand areas- [ ] I have made corresponding changes to the documentation- [ ] I have made corresponding change to the default configuration files (and/or docker env variables)- [ ] I have added tests that prove my fix is effective or that my feature works