mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 16:39:41 +08:00
87c34c8e90
* 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
20 lines
486 B
YAML
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 }}
|