Skip to content

chore(security): add the gitleaks configuration - #6

Merged
rbright merged 1 commit into
mainfrom
feature/gitleaks-config-agentgolf-cli
Nov 30, 2026
Merged

rbright merged 1 commit into
mainfrom
feature/gitleaks-config-agentgolf-cli

Conversation

@rbright

@rbright rbright commented Nov 30, 2026

Copy link
Copy Markdown
Member

References

  • Security Bot item 408.

What

Add a root .gitleaks.toml with the title Agent Golf cli gitleaks and [extend] useDefault = true.

Why

The repository had no gitleaks config, so scans ran the built-in rules with no repository title. This matches the org style in the other Agent Golf repositories.

How to Review

  • .gitleaks.toml has the title and the default-rules extension only. No allowlist is needed.
  • Both gitleaks jobs (repository-checks.yml and gitleaks-history.yml) run gitleaks git ... . with no --config, so gitleaks loads ./.gitleaks.toml from the source root. No workflow change.

Verification

  • gitleaks git --log-opts=HEAD --config .gitleaks.toml --redact . with the pinned gitleaks 8.30.1: 7 commits scanned, no leaks found.
  • gitleaks git --log-level debug ... . without --config logs using existing gitleaks config .gitleaks.toml from (--source)/.gitleaks.toml.
  • actionlint: pass.

- Add a root .gitleaks.toml that names the repository and extends the default rules.
- Both gitleaks CI jobs scan `.`, so gitleaks loads the root config with no workflow change.
@rbright
rbright requested a review from kthomas as a code owner November 30, 2026 12:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T12:04:14.446494Z 11fcb5c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@rbright
rbright merged commit fccc4ab into main Nov 30, 2026
4 checks passed
@rbright
rbright deleted the feature/gitleaks-config-agentgolf-cli branch November 30, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant