Skip to content

[skip-cr] ci: scan changed commits for secrets - #188

Merged
vtmocanu merged 1 commit into
mainfrom
ci/183-secret-scan
Nov 15, 2026
Merged

vtmocanu merged 1 commit into
mainfrom
ci/183-secret-scan

Conversation

@vtmocanu

@vtmocanu vtmocanu commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Adds a separate secret-scan workflow running gitleaks 8.30.1, pinned and SHA256-verified. It scans pull-request commits from their merge base and every push to main, including zero-before pushes and force-pushed history. Push runs are never cancelled or replaced by a newer push, so no pushed range goes unscanned; this is why it is its own workflow rather than a job in test.yml, whose per-ref cancel-in-progress group would drop ranges. test.yml is unchanged.

Validation: workflow lint and local validation suites pass. A generated, unusable scanner fixture failed CI; after dropping that commit, the clean-head scan passed and existing jobs passed. The fixture is absent from final branch history. The new job took 6 seconds and runs alongside the existing tests.

Closes #183.

Add an independent secret scan for pull requests and pushes to main. Preserve the existing validation jobs and handle new branches and force-pushed history.

Co-Authored-By: Codex <noreply@openai.com>
@vtmocanu
vtmocanu merged commit 2516c29 into main Nov 15, 2026
13 of 19 checks passed
@vtmocanu
vtmocanu deleted the ci/183-secret-scan branch November 15, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: add a secret scan to test.yml

1 participant