actions-marketplace-validations/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
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 5, 2021
- License
- None
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/a-b-r-o-w-n_check-base-branch-action@d3cb0e8ab2ab28349fa5bd33b2a9e80d63a88be5 # no releases — HEAD as of 2026-07-20tags 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