ant-design/.github/workflows/rebase.yml
xrkffgg 87c34c8e90
ci: optimize action name & trigger (#32244)
* Update compressed-size.yml

* Update issue-check-inactive.yml

* Update issue-close-require.yml

* Update issue-labeled.yml

* Update issue-open-check.yml

* Update issue-remove-inactive.yml

* Update pr-check-merge.yml

* Update preview-build.yml

* Update preview-start.yml

* Update rebase.yml

* Update ui.yml

* Update issue-labeled.yml
2021-09-22 11:52:14 +08:00

20 lines
486 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@master
with:
fetch-depth: 0
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}