chore(ci): ignore gitleaks false positive in accept-invitation test #145

Merged
amiryahaya merged 1 commit from fix/gitleaks-accept-invitation-token into main 2026-11-02 14:19:49 +01:00
Owner

The `security.yml` secret scan (gitleaks 8.21.2, full history) fails on `main` since #141 with one finding:

`web/apps/admin/src/staff/AcceptInvitationPage.test.tsx:7`: `const TOKEN = "tok_SECRET_123";` (rule `generic-api-key`).

It is a made-up invitation token used only in that test (to build the URL hash and assert it is never shown). It appears in no other file. This adds its fingerprint to `.gitleaksignore` with a one-line reason, like the two existing entries.

  • Pinned gitleaks 8.21.2 on this branch: no leaks found (512 commits).
  • Coverage: not applicable, no code changed (one line in `.gitleaksignore`).
  • Review: Ponytail pass and a separate reviewer pass, no findings.

🤖 Generated with Claude Code

The \`security.yml\` secret scan (gitleaks 8.21.2, full history) fails on \`main\` since #141 with one finding: \`web/apps/admin/src/staff/AcceptInvitationPage.test.tsx:7\`: \`const TOKEN = "tok_SECRET_123";\` (rule \`generic-api-key\`). It is a made-up invitation token used only in that test (to build the URL hash and assert it is never shown). It appears in no other file. This adds its fingerprint to \`.gitleaksignore\` with a one-line reason, like the two existing entries. - Pinned gitleaks 8.21.2 on this branch: no leaks found (512 commits). - Coverage: not applicable, no code changed (one line in \`.gitleaksignore\`). - Review: Ponytail pass and a separate reviewer pass, no findings. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chore(ci): ignore gitleaks false positive in accept-invitation test
All checks were successful
ci / changes (pull_request) Successful in 1m2s
ci / clients (pull_request) Has been skipped
ci / api (pull_request) Has been skipped
ci / web (pull_request) Has been skipped
ci / ci-gate (pull_request) Successful in 12s
af9e282d4f
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
primatekuntech/kws!145
No description provided.