Repository navigation
ci: require GitHub Actions CI Status in Mergify - #831
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
No actionable comments were generated in the recent review. WalkthroughMergify now requires the CI Status check in both queue and merge conditions instead of the Travis CI pull-request status. Other queue conditions and the squash merge method are unchanged. ChangesMergify Check Gate
Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Other Possibly related PRs
Suggested reviewers: Merge Risk:
|
Summary
CI Statuscheck from GitHub Actions instead ofTravis CI - Pull Request.CI Statusfails if Lint, Unit Tests, or Build fails, is cancelled, or is skipped. GitHub Actions runs all of them on every PR and master push since ci: add GitHub Actions workflow #825 merged..travis.yml.Why
GitHub Actions runs the same jobs as Travis without waiting for one of the 2 runners Box shares on Travis. Median fork PR time drops from 7.3 min to about 2 min, and p90 from 59.4 min to about 2 min.
Why this is its own PR
Mergify reads its config from
master, not from the PR. A PR that switched Mergify and removed.travis.ymltogether would still need a passing Travis check to merge. Travis still runs on this PR, so it merges under the current rules.Rollout
masterbranch protection rule:CI Statusas a required check, with GitHub Actions as its source, and removeTravis CI - Pull Request.masterbefore merging, and this setting makes GitHub refuse those merges, so PRs currently have to be merged by hand..travis.ymlis gone.Test plan
CI Statusboth pass on this PRSummarycheck shows the queue conditions withcheck-success=CI Statusready-to-mergeand an approval merges through Mergify onceCI StatuspassesSummary by CodeRabbit