Skip to content

Commit 1cd7ce3

Browse files
authored
ci: accept zizmor's finding on the self-test's comment trigger
zizmor flags any workflow that runs on issue_comment, because anyone who can comment can start it. The self-test acts only on a team member's comment command and runs no pull request code, the same reasons the example caller's ignore gives. The user approved this ignore. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012Jmn7nyyNodWTyouEMfLWr
1 parent 2fccbf6 commit 1cd7ce3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/self-test.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ on:
3737
# Runs with this repository's secrets, from main, for any comment on an issue or pull request here. Only a team
3838
# member's comment command is acted on: the review job's condition filters out comments that cannot be one, and the
3939
# review workflow checks every rule itself, team membership included. No job checks out or runs the pull request's
40-
# code; every file comes from main.
41-
issue_comment:
40+
# code; every file comes from main. zizmor flags issue_comment because anyone who can comment can start this
41+
# workflow. Accepted for those reasons, as in examples/claude-review.yml.
42+
issue_comment: # zizmor: ignore[dangerous-triggers] only a team member's comment command is acted on
4243
types: [created]
4344

4445
permissions: {}

0 commit comments

Comments
 (0)