ant-design/.github/workflows/pr-check-ci.yml

33 lines
1.2 KiB
YAML
Raw Normal View History

# Used to merge master/feature branches with each other
name: PR Check CI
on:
schedule:
2022-05-23 16:04:32 +08:00
- cron: "*/5 * * * *"
permissions:
contents: read
jobs:
2021-02-24 20:24:30 +08:00
pr-check-ci:
if: github.repository == 'ant-design/ant-design'
permissions:
checks: read # for actions-cool/check-pr-ci to get check reference
contents: write # for actions-cool/check-pr-ci to merge PRs
issues: write # for actions-cool/check-pr-ci to update issues
pull-requests: write # for actions-cool/check-pr-ci to update PRs
runs-on: ubuntu-latest
steps:
- uses: actions-cool/check-pr-ci@v1
with:
filter-label: 'BranchAutoMerge'
filter-creator-authority: 'write'
2022-03-25 10:17:46 +08:00
filter-head-ref: 'master, feature, next, master-merge-feature, feature-merge-master, next-merge-master, next-merge-feature'
filter-support-fork: false
skip-run-names: 'deploy preview, pr-check-ci, upstream workflow summary, suggest-related-links'
2021-05-02 21:56:04 +08:00
conflict-review-body: '😅 This branch has conflicts that must be resolved!'
success-review: true
success-merge: true
merge-method: 'merge'
2022-06-06 12:01:05 +08:00
merge-title: 'chore: auto merge branches (#${number})'