Repository navigation
ci: allow PostHog ingest token - #53
Merged
Merged
Conversation
somanshreddy
marked this pull request as ready for review
April 6, 2026 23:41
Collaborator
Author
Merge activity
|
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.

Description
Adds a
.gitleaks.tomlallowlist so the PostHog project API token ininternal/analytics/analytics.godoesn't fail the secrets CI check.PostHog project tokens are public client-side ingest tokens by design — they're embedded in every frontend and CLI that uses PostHog. This is not a secret leak. The allowlist is scoped narrowly: only matches the exact
const posthogAPIKey = "phc_..."assignment in that one file.Without this, the
secretsCI job fails on PRs #23, #49, and #50 (the entire M6 stack).Testing
CI
secretsjob should pass after this merges. Verified the allowlist regex matches the token assignment pattern.