ci: allow the secret scanner's own licence in dependency review

Pinning trufflehog to a commit made dependency review list it as a changed
dependency, and its AGPL-3.0 licence is on the deny list. It is the scanner
this workflow runs, executed in CI and never shipped or served, so it is
allowed by name; the deny list still applies to everything else.
This commit is contained in:
Satoshi Qazi Muhammed authored and SatoshiQaziMuhammed committed 2026-10-09 06:09:22 +04:00
1 parent f6d53f51b1
commit 4dfd587b2e
1 file changed
+3
+3
View File
@@ -48,6 +48,9 @@ jobs:
with:
fail-on-severity: high
deny-licenses: GPL-3.0, AGPL-3.0
# TruffleHog (AGPL-3.0) is the secret scanner this workflow runs; it
# executes in CI and is never shipped, served or distributed.
allow-dependencies-licenses: pkg:githubactions/trufflesecurity/trufflehog
secret-scan:
name: Secret Scan