File tree 1 file changed +3
-17
lines changed
1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -2,24 +2,10 @@ name: Automatic Rebase
2
2
on :
3
3
issue_comment :
4
4
types : [created]
5
-
6
- # permissions:
7
- # contents: write
8
- # pull-requests: write
9
- # issues: read
10
- # Enforce other not needed permissions are off
11
- # actions: none
12
- # checks: none
13
- # deployments: none
14
- # packages: none
15
- # repository-projects: none
16
- # security-events: none
17
- # statuses: none
18
-
19
5
jobs :
20
6
rebase :
21
7
name : Rebase
22
- if : github.event.comment.author_association == 'COLLABORATOR' && github.event. issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
8
+ if : github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
23
9
runs-on : ubuntu-latest
24
10
steps :
25
11
- name : Checkout the latest code
28
14
token : ${{ secrets.GITHUB_TOKEN }}
29
15
fetch-depth : 0 # otherwise, you will fail to push refs to dest repo
30
16
- name : Automatic Rebase
31
- uses : cirrus-actions/rebase@1.5
17
+ uses : cirrus-actions/rebase@1.4
32
18
env :
33
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments