-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
considers skipped as success #780
Comments
Yeah seems like it could fit behind a config flag, something like, We need to update the evaluation logic: kodiak/bot/kodiak/evaluation.py Lines 868 to 914 in 008d218
Currently we check the failing checks and compare them against the branch protection's required checks. |
I think this current behavior is correct, but we could add this as an enhancement. GitHub considers "skipped" checks as passing. If you want to block merging if a check has been skipped, I think you could use a GitHub Action to fail the build. |
do you mean to use a separate github action to fail the builds that skip so that kodiak would not merge skipped checks? Do you have any in mind? |
In any case, you could simply fail the skipped check instead of skipping it if a criteria is not met, but then you will be showing the user that the check failed when in reality it was skipped. Which (imo) is confusing. |
@alita-moore Maybe this will help for your use case? #719 (comment) I think the https://github.com/technote-space/workflow-conclusion-action action can be used to fail the build if the conclusion of some jobs is failure |
@chdsbd we can't use kodiak until this feature is implemented because it allows for circumventing required checks when you go from draft -> PR: ethereum/EIPs#4749 |
@alita-moore I've deployed #785 to production, so you can enable the |
When `merge.block_on_neutral_required_check_runs` is enabled, we won't merge the pull request if a required check run has a neutral conclusion. related: #780
Thank you 🙏🙇♀️ |
if the check is skipped instead of failed; see alita-moore/EIPs#388
In this case the "greetings" was the only required check. But the bot kodiak still merged. It would be nice to have an option to consider skips as fails, just to be safe.
The text was updated successfully, but these errors were encountered: