You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
31 lines
1.1 KiB
# Used to merge master/feature branches with each other
|
|
name: PR Check CI
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "*/5 * * * *"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
pr-check-ci:
|
|
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'
|
|
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, build preview failed, suggest-related-links'
|
|
conflict-review-body: '😅 This branch has conflicts that must be resolved!'
|
|
success-review: true
|
|
success-merge: true
|
|
merge-method: 'merge'
|
|
merge-title: 'chore: auto merge branches (#${number})'
|
|
|