8000
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.
/rebase
1 parent 7777afc commit 10dee69Copy full SHA for 10dee69
.github/workflows/rebase.yml
@@ -0,0 +1,21 @@
1
+# This cannot rebase workflow changes into a PR
2
+# It also only works if the GITHUB_TOKEN has permission to push to the branch
3
+# see: https://github.com/cirrus-actions/rebase/issues/12#issuecomment-632594995
4
+on:
5
+ issue_comment:
6
+ types: [created]
7
+name: Automatic Rebase
8
+jobs:
9
+ rebase:
10
+ name: Rebase
11
+ if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout the latest code
15
+ uses: actions/checkout@v2
16
+ with:
17
+ fetch-depth: 0
18
+ - name: Automatic Rebase
19
+ uses: cirrus-actions/rebase@1.4
20
+ env:
21
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments