Skip to content

ci: require GitHub Actions CI Status in Mergify - #831

Merged
JChan106 merged 1 commit into
box:masterfrom
JChan106:ci/mergify-require-gha
Nov 19, 2026
Merged

JChan106 merged 1 commit into
box:masterfrom
JChan106:ci/mergify-require-gha

Conversation

@JChan106

@JChan106 JChan106 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Mergify now queues and merges PRs on the CI Status check from GitHub Actions instead of Travis CI - Pull Request.
  • CI Status fails 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 keeps running for now. A follow-up PR removes .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.yml together would still need a passing Travis check to merge. Travis still runs on this PR, so it merges under the current rules.

Rollout

  1. Merge this PR.
  2. A repo admin edits the master branch protection rule:
    • Add CI Status as a required check, with GitHub Actions as its source, and remove Travis CI - Pull Request.
    • Turn off "Require branches to be up to date before merging". Mergify's queue tests each PR on the latest master before merging, and this setting makes GitHub refuse those merges, so PRs currently have to be merged by hand.
  3. Turn on "Build only if .travis.yml is present" for this repo on Travis. Without it, Travis builds PRs with a default config once .travis.yml is gone.
  4. Merge the Travis removal PR.
  5. Deactivate the repo on Travis.

Test plan

  • Travis and CI Status both pass on this PR
  • Mergify's Summary check shows the queue conditions with check-success=CI Status
  • After step 2, a PR with ready-to-merge and an approval merges through Mergify once CI Status passes

Summary by CodeRabbit

  • Chores
    • Pull request merging now checks the CI Status result instead of the Travis CI pull-request status.
    • Other queue conditions and the squash merge method remain unchanged. No user-facing application features or behavior have changed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@JChan106
JChan106 requested a review from a team as a code owner November 19, 2026 19:12
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Mergify 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.

Changes

Mergify Check Gate

Layer / File(s) Summary
Update required check
.mergify.yml
The queue and merge conditions now require check-success=CI Status instead of the Travis CI pull-request status.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

Suggested reviewers: mickr, bfoxx1906, ahorowitz123

Merge Risk: Minimal · up to 0da70

This switches Mergify's required CI gate from Travis to the GitHub Actions CI Status check. It is a small configuration change with an easy revert. Before merging, confirm that branch protection has been updated as described and that a queued PR merges after CI Status passes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "ci: require GitHub Actions CI Status in Mergify" matches the main change. The PR changes the Mergify queue and merge conditions from the Travis CI pull-request status to the GitHub Actions …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "ci: require GitHub Actions CI Status in Mergify" matches the main change. The PR changes the Mergify queue and merge conditions from the Travis CI pull-request status to the GitHub Actions CI Status check, and the title names both the check and the tool. The title is specific and short, and it uses no vague terms.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the queue at dawn,
The Travis badge has hopped away.
CI Status guards the merge,
While squash keeps its familiar way.
I nibble greens and cheer the change!

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 55a7c5e4-1d4f-40d3-be60-2b35abe5652c
Commits

Reviewing files that changed from the base of the PR and between 8996c6b and 0da70bd.

Files selected for processing: 1

  • .mergify.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@JChan106
JChan106 merged commit b4f18e5 into box:master Nov 19, 2026
13 of 14 checks passed
@JChan106 JChan106 mentioned this pull request Nov 19, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants