a-b-r-o-w-n/Check Base Branch
Ensure that the base branch is not protected. Either update the base or fail the check if it is.
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 0–2scored Jul 13, 2026
- Maintenance Recency
- Stalelast commit Mar 5, 2021
- License
- None
- Runtime
- Deprecated runtime
Pinned Snippet
uses: a-b-r-o-w-n/check-base-branch-action@f6e6e6f6d8264955f8c4c3a0d4111dfb20771bf7 # v1.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-token | Token used to interact with the Github API. | yes | — |
| protected-branches | Comma separated list of branches that are protected. | yes | — |
| update-branch | If true, will update base branch of PR. | — | false |
| default-branch | Branch to set as base if PR is opened against a protected branch. | — | main |
Outputs
no outputs