Skip to content

Commit

Permalink
ci: support /fast-forward in PR review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Lord authored and CuteDress committed Feb 7, 2024
1 parent 7f3a641 commit 1c7a79f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/fast-forward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ name: fast-forward for PR
# GitHub doesn't support fast-forward merge of PR,
# which causes GPG signatures overriden by GitHub's key.
# This workflow allows maintainers to do a fast-forward merge
# by replying `/fast-forward` to the PR.
# by replying anything containing `/fast-forward` to the PR.
#
# Contributors must first rebase onto the latest commit before PR to make fast-forward possible.
on:
# issue / PR comment
issue_comment:
types: [created, edited]
# PR comment in review
pull_request_review_comment:
types: [created, edited]
jobs:
fast-forward:
if: ${{ contains(github.event.comment.body, '/fast-forward')
Expand Down

0 comments on commit 1c7a79f

Please sign in to comment.