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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 5, 2021
License
None
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/a-b-r-o-w-n_check-base-branch-action@d3cb0e8ab2ab28349fa5bd33b2a9e80d63a88be5 # no releases — HEAD as of 2026-07-20

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
repo-tokenToken used to interact with the Github API.yes
protected-branchesComma separated list of branches that are protected.yes
update-branchIf true, will update base branch of PR.false
default-branchBranch to set as base if PR is opened against a protected branch.main

no outputs