2021-02-24 15:14:57 +08:00
|
|
|
# Used to merge master/feature branches with each other
|
2024-09-25 10:31:57 +08:00
|
|
|
name: PR Auto Merge Bot
|
2021-02-24 15:14:57 +08:00
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2022-05-23 16:04:32 +08:00
|
|
|
- cron: "*/5 * * * *"
|
2021-02-24 15:14:57 +08:00
|
|
|
|
2022-04-11 11:15:26 +08:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-02-24 15:14:57 +08:00
|
|
|
jobs:
|
2021-02-24 20:24:30 +08:00
|
|
|
pr-check-ci:
|
2023-04-25 11:17:51 +08:00
|
|
|
if: github.repository == 'ant-design/ant-design'
|
2022-04-11 11:15:26 +08:00
|
|
|
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
|
2021-02-24 15:14:57 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-10-19 19:55:20 +08:00
|
|
|
- uses: actions-cool/check-pr-ci@v1
|
2021-02-24 15:14:57 +08:00
|
|
|
with:
|
2024-09-19 03:30:19 +08:00
|
|
|
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'
|
2021-02-24 15:14:57 +08:00
|
|
|
filter-support-fork: false
|
2024-07-30 16:34:02 +08:00
|
|
|
skip-run-names: 'deploy preview, pr-check-ci, upstream workflow summary, suggest-related-links, download visual-regression report'
|
2024-09-19 03:30:19 +08:00
|
|
|
conflict-review-body: 😅 This branch has conflicts that must be resolved!
|
2021-02-24 15:14:57 +08:00
|
|
|
success-review: true
|
|
|
|
success-merge: true
|
2024-09-19 03:30:19 +08:00
|
|
|
merge-method: merge
|
2022-06-06 12:01:05 +08:00
|
|
|
merge-title: 'chore: auto merge branches (#${number})'
|