Skip to content

Commit a2f5439

Browse files
committed
Gate the AI security review by the security-review environment
Signed-off-by: Cosmin Cojocar <cosmin@cojocar.ch>
1 parent 3e99c47 commit a2f5439

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ jobs:
6969
- name: Check taint benchmark regression
7070
run: bash tools/check_taint_benchmark.sh
7171
barry-ai-security-review:
72-
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
72+
if: github.event_name == 'pull_request_target'
7373
runs-on: ubuntu-latest
74+
environment: security-review
7475
permissions:
7576
security-events: write
7677
pull-requests: write

0 commit comments

Comments
 (0)