glenn-jocher commited on
Commit
4f5e274
·
unverified ·
1 Parent(s): 752d97d

Update rebase.yml (#5245)

Browse files
Files changed (1) hide show
  1. .github/workflows/rebase.yml +4 -4
.github/workflows/rebase.yml CHANGED
@@ -1,10 +1,9 @@
1
- name: Automatic Rebase
2
  # https://github.com/marketplace/actions/automatic-rebase
3
 
 
4
  on:
5
  issue_comment:
6
  types: [created]
7
-
8
  jobs:
9
  rebase:
10
  name: Rebase
@@ -14,8 +13,9 @@ jobs:
14
  - name: Checkout the latest code
15
  uses: actions/checkout@v2
16
  with:
17
- fetch-depth: 0
 
18
  - name: Automatic Rebase
19
- uses: cirrus-actions/rebase@1.3.1
20
  env:
21
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
 
1
  # https://github.com/marketplace/actions/automatic-rebase
2
 
3
+ name: Automatic Rebase
4
  on:
5
  issue_comment:
6
  types: [created]
 
7
  jobs:
8
  rebase:
9
  name: Rebase
 
13
  - name: Checkout the latest code
14
  uses: actions/checkout@v2
15
  with:
16
+ token: ${{ secrets.GITHUB_TOKEN }}
17
+ fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
18
  - name: Automatic Rebase
19
+ uses: cirrus-actions/rebase@1.4
20
  env:
21
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}