Skip to content
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

chore(mergify): remove 0 check failure condition #1748

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

mantariksh
Copy link
Contributor

Problem

The Mergify documentation states that #check-failure=0 should not be used as a condition because of a possible race condition where the PR might be merged before any service reports its status check.

Credit to @lamkeewei for pointing this out.

Solution

Remove the #check-failure=0 condition. We can rely on branch protections to ensure that all status checks pass before PRs can be merged (which is what we were implicitly doing in the first place).

Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

imagetm

@mantariksh mantariksh merged commit 537584e into develop Apr 28, 2021
@mantariksh mantariksh deleted the chore/mergify-config branch May 18, 2021 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants