actions-marketplace-validations/Pull Request Target Branch Action

A action to check that a PR's target branch is correct, commenting and/or changing it if required

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
targetThe target branchyes
excludeA list (space separated string) of base branches which are allowed to PR the given target (cannot be used with include)no
includeA list (space separated string) of base branches which are not allowed to PR the given target (cannot be used with exclude)no
change-toThe branch the PR's target should be changed to if the target is incorrectno
commentThe comment that will be posted when the target branch is incorrectno
already-exists-actionThe action to take if a pr with the same head & base already existsnoerror
already-exists-commentThe comment to post if a pr with the same head & base already existsno
already-exists-other-commentThe comment to post on the other pr if already-exists-action closes the other prno
namedescription
wrong-targetBoolean output indicating if the target branch was incorrect
comment-postedThe comment that was posted, if any
new-targetThe new target, if the target was changed
pr-already-existsIf a pr with the same head & base already exists