chore(ci): ignore gitleaks false positive in accept-invitation test #145
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/kws!145
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/gitleaks-accept-invitation-token"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
🤖 Generated with Claude Code