We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ba1b9be + 4589375 commit ccafe89Copy full SHA for ccafe89
.github/workflows/rebase.yml
@@ -0,0 +1,26 @@
1
+name: rebase
2
+
3
+on:
4
+ issue_comment:
5
+ types: [created]
6
7
+jobs:
8
+ rebase:
9
+ name: Rebase
10
+ if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@master
14
+ with:
15
+ fetch-depth: 0
16
+ - name: Automatic Rebase
17
+ uses: cirrus-actions/[email protected]
18
+ env:
19
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20
+ # https://github.community/t5/GitHub-Actions/Workflow-is-failing-if-no-job-can-be-ran-due-to-condition/m-p/38186#M3250
21
+ always_job:
22
+ name: Always run job
23
24
25
+ - name: Always run
26
+ run: echo "This job is used to prevent the workflow to fail when all other jobs are skipped."
0 commit comments