mirror of
https://github.com/Cute-Dress/Dress.git
synced 2024-11-27 15:45:04 +08:00
ci: support /fast-forward
in PR review comment
This commit is contained in:
parent
7f3a641724
commit
1c7a79f719
6
.github/workflows/fast-forward.yml
vendored
6
.github/workflows/fast-forward.yml
vendored
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user