Skip to content

chore: Hive76 secret-scanning template (pre-commit gitleaks + Action) - #5

Merged
k1n6b0b merged 4 commits into
mainfrom
ops/secret-scanning-template
Oct 22, 2026
Merged

k1n6b0b merged 4 commits into
mainfrom
ops/secret-scanning-template

Conversation

@hive76-ops-bot

Copy link
Copy Markdown
Contributor

Adds the shared Hive76 secret-scanning template from hive76-space/ops/repo-template: gitleaks pre-commit hook (git-hooks/pre-commit), .gitleaks.toml, and a gitleaks GitHub Action on push + PR. .gitignore entries merged (existing config/service-account.json kept).

🤖 Generated with Claude Code

Comment thread .github/workflows/gitleaks.yml Fixed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hive76 ops box and others added 2 commits October 22, 2026 04:21
Synced from hive76-space ops/repo-template (see hive76/hive76-space#1).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main's protection requires the checks `test` and `scan-secrets`, but the
jobs reported as "Tests" and "Secret Scan", so the required checks never
arrived and every PR stayed blocked. Dropping the display names makes the
check names equal the job IDs, so a cosmetic rename can't silently block
merges again.

Also, per GitHub's hardening guidance: the workflow token is limited to
contents: read, and aquasecurity/trivy-action is pinned to the v0.36.0
commit instead of @master.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@k1n6b0b
k1n6b0b merged commit f627840 into main Oct 22, 2026
8 checks passed
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.

2 participants