|
|
@ -9,11 +9,11 @@ jobs: |
|
|
|
if: github.event.label.name == 'BranchAutoMerge' && 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: Auto Approve |
|
|
|
uses: zombieJ/automerge-action@0.0.2 |
|
|
|
uses: "hmarr/auto-approve-action@v2.0.0" |
|
|
|
with: |
|
|
|
github-token: "${{ secrets.GITHUB_TOKEN }}" |
|
|
|
- name: Auto Merge |
|
|
|
uses: "pascalgn/automerge-action@v0.12.0" |
|
|
|
uses: "zombieJ/automerge-action@0.0.2" |
|
|
|
env: |
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
|
|
|
MERGE_LABELS: "BranchAutoMerge" |
|
|
|