mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-19 14:53:16 +08:00
16 lines
551 B
YAML
16 lines
551 B
YAML
|
name: Automatic Merge by label
|
||
|
on:
|
||
|
pull_request:
|
||
|
types:
|
||
|
- labeled
|
||
|
jobs:
|
||
|
auto-merge:
|
||
|
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
|
||
|
uses: "pascalgn/automerge-action@v0.12.0"
|
||
|
env:
|
||
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||
|
MERGE_LABELS: "BranchAutoMerge"
|
||
|
MERGE_REMOVE_LABELS: "BranchAutoMerge"
|