File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
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/rebase@1.3
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
+ runs-on : ubuntu-latest
24
+ steps :
25
+ - name : Always run
26
+ 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