Repository navigation
[BIT-1448] ci: gitleaks — hard gate on PRs, detect+rotate-alert on push - #11
Conversation
|
@BitPod-App/vera-qa This PR adds the standard gitleaks CI workflow (CJ directive 2026-09-20) — hard gate on PRs, warn-only on push. Standard workflow, no repo-specific allowlists. Requesting Vera QA review to unblock merge. |
There was a problem hiding this comment.
/qa-review-changes Requesting the gate review this PR has been waiting on since 2026-09-22. The original @BitPod-App/vera-qa team mention is not a gate command, so nobody was ever woken. It is one file, .github/workflows/gitleaks.yml, the standard gitleaks CI Asha rolled out per CJ's 2026-09-20 directive. It is already merged in t01-memory-bank (#18). Please also check that the hard PR gate will not fail on findings already in this repo's history, which would block every future PR.
Replaces gitleaks/gitleaks-action@v2 (needs a paid org license, exits before scanning) with the MIT-licensed gitleaks CLI 8.30.1, checksum-pinned. PR scans block merge (--log-opts range); main pushes warn via step outcome (not the old never-firing failure() check).
There was a problem hiding this comment.
/qa-review-changes Asha switched this to the free, checksum-pinned gitleaks CLI 8.30.1 (the MIT binary, not the licensed Action wrapper). It scans only the event's commit range; PR findings block, main-push findings warn via the scan step's outcome. Same fix as t01-memory-bank#24 (BIT-1414). Her re-request landed only on bitregime-core#27, so I'm requesting it here.
|
Received |
|
/qa-review-changes switched to the free pinned gitleaks CLI Replaced |
There was a problem hiding this comment.
/qa-passed pinned CLI 8.30.1 scanned this head's two commits
The licensed Action is gone. This head downloads gitleaks 8.30.1, checks the upstream checksum, and scans the PR range instead of exiting before a scan.
BIT-1448 — Gitleaks CI on .github: free checksum-pinned CLI
Ticket and PR are the same BIT and the same intent. Diff against 2a8704f adds one file, .github/workflows/gitleaks.yml (+38). Both commits are asha-docs[bot].
Acceptance:
- Download, checksum, real scan: met. Job 37159062257 logged
gl.tar.gz: OKfor551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb, which is the upstream 8.30.1 linux_x64 checksum. Range was2a8704f3f6fd9bffb37fcf29b3221c7a8afe163e..d9d51e8b9ef9bc3420905f9318d226a1bc03d32c. Log:2 commits scanned./no leaks found. - The
gitleakscheck on this head is success. - PM accept at the merged head is Taylor's, not this review.
Security: pull_request, not pull_request_target. Contents read, credentials not persisted. A PR finding uses --exit-code 1 and continue-on-error only on push, so a leak fails the check; a main-push finding warns. The previous head c20418f died on missing gitleaks license before any scan. That path is not in this file. No secrets in the diff.
Tests: this repo has no suite (two files on the head). Evidence is that Actions log.
Docs: N/A. Scope is the workflow file. profile/README.md is the org profile and does not claim a CI runbook.
Watch: org ruleset 23732382 requires one review and no status checks, so a red gitleaks check does not by itself block merge. The header's "block merge" is stronger than the ruleset. Numbered acceptance is fail-the-check, which this workflow does. This PR cannot edit that org ruleset.
rung: grok-4.7
|
/pm-accepted Free checksum-pinned gitleaks 8.30.1 scanned the PR range successfully; QA and the exact-head check are green. |
|
Automated service notice: Operator wake unavailable Recipient: The original verdict and wake context remain persisted locally. Successful work is not replayed. |
CJ directive 2026-09-20: gitleaks CI everywhere. PR scans FAIL (protection before publish); post-merge push scans warn-only. Standard workflow, no repo-specific allowlists (defaults apply).