-
-
Notifications
You must be signed in to change notification settings - Fork 643
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
Split check labels to action with label-based triggers #20064
base: main
Are you sure you want to change the base?
Conversation
+1 for this @tgolsson |
Can you have otherwise, +1 to the idea 😄 |
d352e20
to
d343c84
Compare
@thejcannon Fixed! |
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.
For my own understanding, once this goes in, I (or any admin) needs to edit the repo settings that says "these checks must pass before merging", yeah?
73f0c9e
to
4e29b03
Compare
4e29b03
to
98e0d96
Compare
I have found a fatal flaw in this setup which I think is a show-stopper. GitHub statuses can only exist on commits. That means when a new commit is added, the category check has to run in order to exist for the last commit on the branch. Will have a think... |
I think it makes more sense to run the label-check job based on labels and not based on pushes. Also means that if a PR is opened and we add a label that job goes green immediately without having to rerun the CI. Downside is we'll need another required status check in the branch protection rules.