Repository navigation
ci: add pinned gitleaks secret scan - #4
Merged
Merged
Conversation
Closes the last gap found in today's org-wide hardening audit: this repo had zero security scanning (homebrew-databoar#2). Same pinned-binary + strict-config pattern already proven across the org (SHA256 pinned, inline gitleaks.toml/gitleaksignore stripped before scan, no inline allow comments honored) rather than the weaker self-referential-checksum variant.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Publica o commit local
30d26ab(assinado,2026-09-17 03:01:34 -0300), que ainda não estava noorigin. Amainlocal não foi alterada: o push foi30d26ab:refs/heads/ci/gitleaks-secret-scan.Um arquivo:
.github/workflows/gitleaks.yml.DataBoar/homebrew-databoar).actions/checkoutpinado pelo SHAdf4cb1c069e1874edd31b4311f1884172cec0e10(comentário no arquivo: v6.0.3). O binário gitleaks8.30.1e ogitleaks.tomlupstream (83d9cd6) estão pinados por SHA-256 no próprio workflow.secretse não lêsecrets.*. Permissão:contents: read.persist-credentials: false..gitleaks.toml/.gitleaksignoredo checkout e passa--ignore-gitleaks-allow, para um allowlist no PR não silenciar o scan.Test plan
actionlintno arquivo: exit 0zizmorv1.30.1, personaregular, modo offline: nenhum achado (1 auditoria suprimida por estar offline)Secret scan (Gitleaks)nopull_request