Repository navigation
Conversation
The workflow calls the shared reusable workflow in Positronic-Robotics/secret-scanning. It scans only the commits that a pull request or a push adds, with the default gitleaks rules and four added rules (Nebius IAM tokens, Anthropic OAuth tokens, Tailscale keys, secrets in command-line flags). A finding shows file, line and rule id, never the value. .gitleaks.toml is a copy of the shared file; the check fails if the copy differs. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The rules copy now matches gitleaks.toml at that commit: the lpass allowlist covers only the lpass command itself, curl -u with a shell variable is allowed, and cli-flag-secret also catches quoted values that hold shell punctuation. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
What
Every pull request and every push to
main-positronicnow runs agitleakscheck. It scans only the commits being added, with the gitleaks default rules plus four rules for credentials the defaults miss: Nebius IAM tokens, Anthropic OAuth tokens, Tailscale keys, and a literal credential passed as a command-line flag (--token <value>). A finding fails the check and prints file, line, commit and rule id, never the value.The workflow calls the reusable workflow in Positronic-Robotics/secret-scanning, pinned to commit
17271b2. The job runs onubuntu-latestwithcontents: readand no secrets.Files
.github/workflows/gitleaks.yml: the caller, 20 lines..gitleaks.toml: a byte copy of the shared rules. The check fails if the copy differs.No pre-commit hook is added: this repository follows an upstream, and its pre-commit config would conflict on every sync.
Checks
A full scan of the current tree with these rules finds nothing. Reverting this PR removes the check and changes nothing else.
For contributors
gitleaks:allowin a comment on that line.file:rule:lineto.gitleaksignore. The job prints every waiver a PR adds, so reviewers see it.🤖 Generated with Claude Code