add exceptions for dangerous-triggers including comments for reasoning

This commit is contained in:
fkwp
2026-03-11 17:48:06 +01:00
parent 217a29a78b
commit 2e8d95dbc5
3 changed files with 27 additions and 1 deletions

View File

@@ -1,7 +1,16 @@
name: Prevent blocked
on:
# zizmor: ignore[dangerous-triggers]
# Reason: This workflow does not checkout code or use secrets.
# It only reads labels to set a failure status on the PR.
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]
permissions:
pull-requests: read
# Required to fail the check on the PR
statuses: write
jobs:
prevent-blocked:
name: Prevent blocked