raulanatol/Only merge from - action

Github action to close a PR if the base branch is not from expected

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Stalelast commit Oct 13, 2020
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: raulanatol/only-merge-from-action@68afeb5e11ec19075a70cff1c461b40471ff366f # v1.0.1

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

namedescriptionrequireddefault
github-tokenGithub tokenyes
protected-branchThe name of the protected branchyesmain
allowed-branchThe name of the branch allowed to merge over the protected branchyesdevelop

no outputs