-
Notifications
You must be signed in to change notification settings - Fork 524
CICD: Adding PR Type label checker #3645
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
Conversation
|
I'm good with this if we add the label and category to this PR per specs. |
|
Same comment as Barbara. But would we just check that there's some text with a colon before the PR change? |
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.
Should it check for only one type label?
Can we add a regex to check the PR title?
Yea, only one type of label. We should also make sure that there is one label attached and only one. If there's more than one that return "Failed: Found more than one label. Please include only one label." |
|
added check to check that there's only one. |
algobarb
left a comment
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.
LGTM
We want to make PR Type labels required on PRs. This is a github action that will check for us if a correct label has been added"
Tested on this PR. Feel free to test it here too by adding a label or removing it.