ant-design/.github/workflows/rebase.yml

18 lines
431 B
YAML
Raw Normal View History

2019-09-24 07:04:53 +08:00
on:
issue_comment:
types: [created]
name: Automatic Rebase
jobs:
rebase:
name: Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
2019-09-24 07:04:53 +08:00
runs-on: ubuntu-latest
steps:
2020-04-28 17:02:37 +08:00
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}