Skip to content

Commit 070de7d

Browse files
committed
fix: use pull_request_target for agentic CI on fork PRs
1 parent 54d51bd commit 070de7d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/agentic-ci-pr-review.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Agentic CI: PR Review"
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [opened, ready_for_review, labeled]
66
branches: [main]
77
workflow_dispatch:
@@ -80,6 +80,7 @@ jobs:
8080
needs: gate
8181
if: needs.gate.outputs.allowed == 'true'
8282
runs-on: [self-hosted, agentic-ci]
83+
environment: agentic-ci
8384
timeout-minutes: 15
8485
steps:
8586
- name: Determine PR number

0 commit comments

Comments
 (0)