We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5285ae6 commit 3df888bCopy full SHA for 3df888b
.github/workflows/ff-master-stage.yml
@@ -0,0 +1,23 @@
1
+on:
2
+ issue_comment:
3
+ types: [created]
4
+
5
+jobs:
6
+ fast_forward_job:
7
+ name: Fast Forward
8
+ if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/fast-forward')
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ # To use this repository's private action, you must check out the repository
12
+ - name: Checkout
13
+ uses: actions/checkout@v2
14
+ # Basic use case example
15
+ - name: Fast Forward PR
16
+ id: ff-action
17
+ uses: ./
18
+ with:
19
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20
+ success_message: 'Success! Fast forwarded master to stage! ```git checkout master && git merge stage --ff-only``` '
21
+ failure_message: 'Failed! Cannot do fast forward!'
22
+ staging_branch: 'stage'
23
+ production_branch: 'master'
0 commit comments