Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,21 @@ on:
required: false
default: ""

# Declared so callers can forward these by name instead of `secrets:
# inherit` (which hands this workflow ALL of the caller's secrets and
# trips zizmor's `secrets-inherit` audit). All optional, each gated by
# its matching `enable-*` input, so omitting one is a no-op.
secrets:
GITLEAKS_LICENSE:
description: GitLeaks license key. Used only when enable-gitleaks is true.
required: false
SEMGREP_APP_TOKEN:
description: Semgrep App token. Used only when enable-semgrep is true.
required: false
SNYK_TOKEN:
description: Snyk token. Used only when enable-snyk is true.
required: false

permissions:
contents: read
security-events: write # CodeQL + SARIF uploads
Expand Down