Skip to content

A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.

Shell

fix(secrets): pass GITHUB_TOKEN to the gitleaks PR scan

Rudy Celekli806e49bcbf07
diff --git a/security/security-secrets-credential-engineer.md b/security/security-secrets-credential-engineer.md
index 31b915f0..f2ce43a7 100644
--- a/security/security-secrets-credential-engineer.md
+++ b/security/security-secrets-credential-engineer.md
@@ -82,7 +82,9 @@ jobs:
- uses: actions/checkout@v4
with: { fetch-depth: 0 } # full history so an old leak is caught too
- uses: gitleaks/gitleaks-action@v2
- env: { GITLEAKS_CONFIG: .gitleaks.toml } # allowlist known-public test fixtures
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required by the action to scan pull_request events
+ GITLEAKS_CONFIG: .gitleaks.toml # allowlist known-public test fixtures
```
### Static Key → Dynamic, Short-Lived Credential