Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit ff52768

Browse files
committed
add another sample workflow
Signed-off-by: William Woodruff <[email protected]>
1 parent 6f719be commit ff52768

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# https://github.com/Homebrew/homebrew-core/blob/ac74cb3f7dbdb2da2200886d5e740de124bab861/.github/workflows/automerge-triggers.yml
2+
name: Trigger automerge
3+
4+
on:
5+
pull_request_review:
6+
types:
7+
- submitted
8+
pull_request_target:
9+
types:
10+
- unlabeled
11+
- ready_for_review
12+
13+
jobs:
14+
check:
15+
if: >
16+
github.repository_owner == 'Homebrew' &&
17+
((github.event_name == 'pull_request_review' && github.event.review.state == 'approved') ||
18+
(github.event_name == 'pull_request_target' &&
19+
(github.event.action == 'ready_for_review' || github.event.label.name == 'automerge-skip')))
20+
runs-on: ubuntu-latest
21+
steps:
22+
- run: true # This suffices to trigger `automerge.yml`.

0 commit comments

Comments
 (0)