We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9203f98 commit 60f98beCopy full SHA for 60f98be
1 file changed
.github/workflows/rebase.yml
@@ -0,0 +1,20 @@
1
+# https://github.com/marketplace/actions/automatic-rebase
2
+name: Automatic Rebase
3
+on:
4
+ issue_comment:
5
+ types: [created]
6
+jobs:
7
+ rebase:
8
+ name: Rebase
9
+ if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout the latest code
13
+ uses: actions/checkout@v2
14
+ with:
15
+ token: ${{ secrets.GITHUB_TOKEN }}
16
+ fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
17
+ - name: Automatic Rebase
18
+ uses: cirrus-actions/[email protected]
19
+ env:
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments