You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pr/merge: support merging only when the PR head is a given commit #122
Add an input to pr/merge that merges the pull request only while its head is a given commit, so a caller can merge exactly the commit its checks ran on.
pr/merge merges whatever the pull request's head is when it runs (merge.sh). A workflow that merges after checks pass, such as Dependabot auto-merge, can therefore merge a commit pushed after the checks ran, which the checks never saw.
gh pr merge already supports this with --match-head-commit. The new input would pass that flag through, and callers that leave it empty keep today's behavior.
Activity
dependabot-auto-mergeworkflow that merges only the commit that passed checks workflows#3feat: add reusable dependabot-auto-merge workflow (#6)