Skip to content

Commit 827ce1d

Browse files
authored
zizmor justification
Signed-off-by: Aviv Keller <me@aviv.sh>
1 parent efab82a commit 827ce1d

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/leave-comment.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
name: Leave Comment
22

33
on:
4-
workflow_run:
4+
workflow_run: # zizmor: ignore[dangerous-triggers]
5+
# While it's true (as reported by Zizmor) that many `workflow_run`
6+
# workflows are unsafe, we are using it purely to paste a code comment
7+
# on a pull request. If an attacker were to attempt to modify the _only_
8+
# file of data we collect from their unsafe code, the worst they could do
9+
# is leave a comment on their own PR, which has no harmful impact
10+
# whatsover.
11+
#
512
# Any Workflow that uploads a `pr-comment` artifact should be listed here
613
workflows: ['Build', 'Lighthouse']
714
types: [completed]

0 commit comments

Comments
 (0)