-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
35 lines (32 loc) · 1009 Bytes
/
automerge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Enable auto-merge
on:
schedule:
- cron: 0 * * * *
pull_request_target:
types:
- opened
- synchronize
- reopened
- edited
- labeled
- unlabeled
- ready_for_review
permissions: {}
jobs:
automerge:
if: startsWith(github.repository, 'Homebrew/')
runs-on: ubuntu-latest
steps:
- name: Enable auto-merge
uses: reitermarkus/automerge@634d0a4b51134c163eee182ac9aa79133eb33e8d
with:
token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
merge-method: merge
squash-commit-title: ${pull_request.title} (#${pull_request.number})
squash-commit-message: '\n'
do-not-merge-labels: automerge-skip,do not merge
required-labels: bump-cask-pr
pull-request: ${{ github.event.inputs.pull-request }}
pull-request-author-associations: MEMBER,OWNER
review: ${{ github.event.inputs.review }}
review-author-associations: MEMBER,OWNER