File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Automatic Rebase
2
+ on :
3
+ issue_comment :
4
+ types : [created]
5
+
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
+ - uses : actions/checkout@master
13
+ with :
14
+ fetch-depth : 0
15
+
16
+ - name : Automatic Rebase
17
+ uses : cirrus-actions/rebase@1.2
18
+ env :
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
+
21
+ # https://github.community/t5/GitHub-Actions/Workflow-is-failing-if-no-job-can-be-ran-due-to-condition/m-p/38186#M3250
22
+ always_job :
23
+ name : Always run job
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - name : Always run
27
+ run : echo "This job is used to prevent the workflow to fail when all other jobs are skipped."
You can’t perform that action at this time.
0 commit comments