Update rebase.yml (#5245)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-10-19 09:46:05 +02:00
1 parent 752d97df2c
commit 4f5e274eee
1 file changed
+4 -4
+4 -4
View File
@@ -1,10 +1,9 @@
name: Automatic Rebase
# https://github.com/marketplace/actions/automatic-rebase # https://github.com/marketplace/actions/automatic-rebase
name: Automatic Rebase
on: on:
issue_comment: issue_comment:
types: [created] types: [created]
jobs: jobs:
rebase: rebase:
name: Rebase name: Rebase
@@ -14,8 +13,9 @@ jobs:
- name: Checkout the latest code - name: Checkout the latest code
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: Automatic Rebase - name: Automatic Rebase
uses: cirrus-actions/rebase@1.3.1 uses: cirrus-actions/rebase@1.4
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}