Skip to content

Commit 51bc9a5

Browse files
Copilotjkowalleck
andauthored
chore: add comment explaining advanced-security: false in zizmor workflow
Agent-Logs-Url: https://github.com/CycloneDX/cyclonedx-python-lib/sessions/b5733fc7-3e3a-4c62-a94c-54620cce9147 Co-authored-by: jkowalleck <2765863+jkowalleck@users.noreply.github.com>
1 parent e114a64 commit 51bc9a5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/zizmor.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,11 @@ jobs:
3232
# see https://github.com/zizmorcore/zizmor-action
3333
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
3434
with:
35+
# false: emit findings as workflow-command annotations (::error file=…) rather than
36+
# uploading a SARIF report to GitHub's Security tab.
37+
# Uploading SARIF requires `security-events: write` and GitHub Advanced Security (GHAS),
38+
# both of which are unnecessary here and would violate the least-privilege policy.
39+
# The two modes are mutually exclusive: advanced-security must be false for
40+
# annotations to take effect.
3541
advanced-security: false
3642
annotations: true

0 commit comments

Comments
 (0)