Skip to content

fix(security-scan): pin actions/checkout to v5#51

Merged
BryanFRD merged 1 commit into
mainfrom
fix/security-scan-checkout-v5
May 23, 2026
Merged

fix(security-scan): pin actions/checkout to v5#51
BryanFRD merged 1 commit into
mainfrom
fix/security-scan-checkout-v5

Conversation

@BryanFRD
Copy link
Copy Markdown
Contributor

Summary

  • Pin actions/checkout to v5 in .github/workflows/reusable-security-scan.yml (3 jobs: gitleaks, osv-scanner, trufflehog)
  • actions/checkout@v6 regression: drops GITHUB_TOKEN extraheader on deep fetch (fetch-depth: 0), causing fatal: could not read Username for 'https://github.com' on every scheduled scan

Closes #50

Test plan

  • PR CI green
  • Verify next scheduled Security scan on FerrLabs/Changelog passes

Copilot AI review requested due to automatic review settings May 23, 2026 18:41
@BryanFRD BryanFRD merged commit 57f93d9 into main May 23, 2026
2 of 3 checks passed
@BryanFRD BryanFRD deleted the fix/security-scan-checkout-v5 branch May 23, 2026 18:42
@BryanFRD BryanFRD review requested due to automatic review settings May 23, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(reusable-security-scan): actions/checkout@v6 drops GITHUB_TOKEN on deep fetch

1 participant