Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Enable auto-merge #1315

Enable auto-merge

Enable auto-merge #1315

Workflow file for this run

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