Skip to content

Commit 756876c

Browse files
committed
Add label-based trigger for Gemini PR review workflow
1 parent 877533b commit 756876c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/gemini-pr-review.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ name: Gemini PR Review
22

33
on:
44
pull_request_target:
5-
types: [opened, synchronize]
5+
types: [opened, synchronize, labeled]
66

77
jobs:
88
gemini_review:
99
runs-on: ubuntu-latest
10+
if: contains(github.event.pull_request.labels.*.name, 'api-review')
1011

1112
steps:
1213
- name: Checkout code

0 commit comments

Comments
 (0)