Skip to content

ci: add gitleaks secret scanning on pull requests - #1

Merged
netdevs-net merged 2 commits into
mainfrom
chore/gitleaks
Aug 5, 2026
Merged

netdevs-net merged 2 commits into
mainfrom
chore/gitleaks

Conversation

@netdevs-net

Copy link
Copy Markdown
Contributor

Adds PR-gated secret scanning, matching what already runs in valleywide-builders and ULFBUILT.

  • .github/workflows/gitleaks.yml — scans only the commits a PR introduces, so it blocks new secrets without failing on pre-existing history
  • .gitleaks.toml — extends the default ruleset; allowlists .env.example and README.md

workflow_dispatch is wired for an on-demand full-history audit.

Prompted by an R2 credential that reached riguchi2's history with no CI able to catch it. That key has since been rotated.

🤖 Generated with Claude Code

@netdevs-net
netdevs-net merged commit a56d62b into main Aug 5, 2026
1 check passed
@netdevs-net
netdevs-net deleted the chore/gitleaks branch August 5, 2026 23:57
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.

1 participant