Instant Merges
Read about instant merges, why use instant merge, and how to configure it in our guide. This method merges the PR directly without waiting for the CI to finish.
Last updated
Was this helpful?
Read about instant merges, why use instant merge, and how to configure it in our guide. This method merges the PR directly without waiting for the CI to finish.
Last updated
Was this helpful?
Instant merge is a merge method where Aviator merges the PR directly without waiting for the CI to finish, or in a parallel mode without creating a draft PR for full CI validation. This can be configured using the Pilot workflow.
It can sometimes be important to get the change out without waiting for an extra CI cycle. For instance, maybe there’s a production outage, or some wrong configuration was deployed in production and has to be updated.
To configure Instant merge using Pilot configs, you can define a scenario with a trigger label:
We also recommend restricting instant merge capability to select few users. Aviator’s Pilot framework also supports restricting who applied a label. You can either provide a GitHub username or a team using @org/team
.
If you only need instant merge to merge PRs while bypassing creating a draft PR in parallel mode, you do not need to provide any elevated permissions.
GitHub does not allow third-party bots to bypass branch protection when using the classic branch protection rules.
Once migrated to Ruleset, you can add Aviator app in the bypass list.
If you cannot migrate your branch protection rules to Ruleset, you can also use a Personal Access Token associated with a user who has GitHub admin permissions. Remember to give repo: read-write permissions when generating a token. In this case, when using instant merge, Aviator will use this personal access token.
\
This capability is now available using GitHub’s . Rulesets offer feature parity with the configurations you use in classic branch protection rules and you should be able to migrate all your existing configurations to using Rulesets.
If you need assistance in setting up the personal access token, please contact .