-
Notifications
You must be signed in to change notification settings - Fork 36
allow bots to automerge PR if all checks pass #7845
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
base: main
Are you sure you want to change the base?
Conversation
# if not is_ci_bot(api, pr_num): | ||
# logger.info("PR not made by CI bot, skipping automerge") | ||
# return |
Check notice
Code scanning / CodeQL
Commented-out code Note
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.
on purpose for testing
hmm right, I didn't realize that the runners won't run the code from here lol |
caf32dc
to
04f128a
Compare
04f128a
to
3410c87
Compare
The way I think this could work (just dropping my ideas here to not forget):
Since this would run at the end of To figure out which checks should pass maybe this could connect to the testmap and validate that all required checks actually ran and none are missing. -- |
https://issues.redhat.com/browse/COCKPIT-1275