Unverified 提交 4f5e274e authored 作者: Glenn Jocher's avatar Glenn Jocher 提交者: GitHub

Update rebase.yml (#5245)

上级 752d97df
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: ...@@ -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 }}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论