Skip to content

Commit 8265460

Browse files
Merge branch 'auto-rebase' into test2
2 parents 08f7030 + fdd8ad1 commit 8265460

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

.github/workflows/rebase.yml

+3-17
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,10 @@ name: Automatic Rebase
22
on:
33
issue_comment:
44
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-
195
jobs:
206
rebase:
217
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')
239
runs-on: ubuntu-latest
2410
steps:
2511
- name: Checkout the latest code
@@ -28,6 +14,6 @@ jobs:
2814
token: ${{ secrets.GITHUB_TOKEN }}
2915
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
3016
- name: Automatic Rebase
31-
uses: cirrus-actions/rebase@1.5
17+
uses: cirrus-actions/rebase@1.4
3218
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)