This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
How do I set up my repo to bypass pull request restrictions? #256
-
As part of my PR merge workflow, I require pull requests to be approved, but in the case of spyglass auto-sync, I want those PRs to skip approvals, how can I do this? |
Beta Was this translation helpful? Give feedback.
Answered by
spyglass-software
Nov 10, 2023
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
spyglass-software
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pull Request Rules
There are two kinds of pull request restrictions: branch protection rules, and rulesets. We'll cover both cases.
🌳 Branch Protection 🌳
Step 1 - Edit branch protection rule
Find the branch protection rule currently applied to your default branch.
Step 2 - Allow Spyglass HQ to bypass required pull requests
This enables the Spyglass Cloud app to merge its own sync PRs. If you're using the OSS CLI, replace this with the name of the appropriate GitHub account.
Step 3 - Save changes!
✏️ Rulesets ✏️
Step 1 - Find your ruleset and click on "Add bypass"
Find the ruleset currently applied to your default branch.
Step 2 - Allow Spyglass HQ to bypass the ruleset
This enables th…