bitwise-media-group/Fast-forward merge

Fast-forward a base branch to an approved, green pull request's head commit, preserving the original commit signature. Verifies write access, approval, passing checks, and a genuine fast-forward before moving the ref.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenGitHub App installation token with contents:write, pull-requests:write, and administration:read, plus issues:write to auto-close linked issues (omit it and the merge still succeeds; closing is skipped with a warning). Typically minted by the calling workflow with actions/create-github-app-token.yes
repositoryThe owner/repo whose base branch is fast-forwarded.no${{ github.repository }}
pr-numberNumber of the pull request to fast-forward into its base branch.yes
actorLogin that requested the merge; checked for write access when maintainer-only is true.no${{ github.actor }}
require-approvalRequire the pull request's review decision to be APPROVED.notrue
maintainer-onlyRequire the actor to have write or higher access.notrue
require-labelIf set, only fast-forward when the pull request carries a label with this exact name; otherwise skip without merging and without failing. Empty (the default) imposes no label requirement. The auto-merge flow sets it to the arming label. Needs no token scope beyond the pull-requests it already uses.no""
namedescription
merged"true" if the base branch was fast-forwarded to the PR head.
head-shaThe PR head SHA the base branch now points to.
baseThe base branch that was fast-forwarded.
closed-issuesComma-separated "owner/repo#number" of the linked issues this merge closed (the PR's closing-keyword references). Empty when there are none.