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 759615d commit 69b4416Copy full SHA for 69b4416
.github/workflows/rebase.yml
@@ -0,0 +1,19 @@
1
+name: Automatic Rebase
2
+on:
3
+ issue_comment:
4
+ types: [created]
5
+jobs:
6
+ rebase:
7
+ name: Rebase
8
+ if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout the latest code
12
+ uses: actions/checkout@v3
13
+ with:
14
+ token: ${{ secrets.GITHUB_TOKEN }}
15
+ fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
16
+ - name: Automatic Rebase
17
+ uses: cirrus-actions/rebase@1.8
18
+ env:
19
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments