Trigger automerge #8817
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger automerge | |
on: | |
pull_request_review: | |
types: | |
- submitted | |
pull_request_target: | |
types: | |
- unlabeled | |
- ready_for_review | |
jobs: | |
check: | |
if: > | |
github.repository_owner == 'Homebrew' && | |
((github.event_name == 'pull_request_review' && github.event.review.state == 'approved') || | |
(github.event_name == 'pull_request_target' && | |
(github.event.action == 'ready_for_review' || github.event.label.name == 'automerge-skip'))) | |
runs-on: ubuntu-latest | |
steps: | |
- run: true # This suffices to trigger `automerge.yml`. |