mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
chore: Label merge action with auto approve
This commit is contained in:
parent
3dace91da2
commit
ecafeb78e3
6
.github/workflows/label-merge.yml
vendored
6
.github/workflows/label-merge.yml
vendored
@ -8,7 +8,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.head.repo.full_name == 'ant-design/ant-design' && (github.event.pull_request.head.ref == 'master' || github.event.pull_request.head.ref == 'feature')
|
||||
steps:
|
||||
- name: automerge
|
||||
- name: Auto Approve
|
||||
uses: hmarr/auto-approve-action@v2.0.0
|
||||
with:
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- name: Auto Merge
|
||||
uses: "pascalgn/automerge-action@v0.12.0"
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
Loading…
Reference in New Issue
Block a user