Skip to content

Commit 0755f3b

Browse files
ci(secret-scan): canonical estate scanner caller, key scan (D243) (#16)
## What Write the canonical estate secret-scanner caller to `.github/workflows/secret-scanner.yml` so this repo emits `scan / gitleaks`, the context the estate Secret-Scan-Floor ruleset (D243/D244) requires. This repo had no secret-scanner caller. Job key `scan`; reusable `hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@74d2f66f575246cf6e313ae7775f44df6e097ff2`; push trigger on `main`. actionlint clean (previous file findings: n/a). Commit via GraphQL `createCommitOnBranch` (GitHub-signed, valid: true). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0136eszqrQ53Kj7aBH1D4rXK Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 50361d2 commit 0755f3b

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# Prevention workflow - scans for hardcoded secrets before they reach main.
3+
#
4+
# Calls the estate's shared secret scanner (gitleaks + rust-secrets +
5+
# shell-secrets). The job key MUST stay `scan`: the estate-wide
6+
# Secret-Scan-Floor ruleset requires the check context `scan / gitleaks`.
7+
#
8+
# No `secrets:` line, deliberately: the reusable references no secrets
9+
# (gitleaks runs as a checksum-verified binary, not gitleaks-action), so
10+
# `secrets: inherit` would only hand it every repo and org secret (CWE-250).
11+
name: Secret Scanner
12+
13+
on:
14+
pull_request:
15+
push:
16+
branches: [main]
17+
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
22+
permissions:
23+
contents: read
24+
25+
jobs:
26+
scan:
27+
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@74d2f66f575246cf6e313ae7775f44df6e097ff2

0 commit comments

Comments
 (0)