bobeenlee/PR Dependency Guard

Block merging a PR until its declared prerequisite PRs are merged. Reads 'Depends on #N' from PR body and 'depends-on-N' labels.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 24, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: bobeenlee/pr-dependency-guard@84e1f8835d9b69a3beefd9f4350317250f862f59 # v1.0.0

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

namedescriptionrequireddefault
github-tokenGitHub token with pull-requests:write permissionno${{ github.token }}
target-branchesComma-separated branches to enforce on. PRs targeting other branches pass silently.nomain,develop,master
bypass-labelLabel name that, when present on the PR, skips the check (records bypass in the sticky comment).noskip-dependency-check
keywordsComma-separated case-insensitive keywords recognized in the PR body before '#N'.noDepends on,Blocked by,After
label-prefixLabel prefix that declares a dependency. 'depends-on-123' means this PR depends on PR #123.nodepends-on-

no outputs