ant-design/.github/workflows/rebase.yml
xrkffgg 90f062e339
ci: fix checkout version (#33164)
* ci: fix checkout version

* chore: add more
2021-12-05 11:37:54 +08:00

20 lines
481 B
YAML

name: Automatic Rebase
on:
issue_comment:
types: [created]
jobs:
rebase:
name: Rebase
if: github.event.issue.pull_request != '' && (contains(github.event.comment.body, '/rebase') || contains(github.event.comment.body, '\rebase'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}