Skip to content

Enable PostHog build events on main - #74

Merged
Jingxi-Polymaker merged 1 commit into
mainfrom
fix/enable-posthog-build-events
Sep 7, 2026
Merged

Enable PostHog build events on main#74
Jingxi-Polymaker merged 1 commit into
mainfrom
fix/enable-posthog-build-events

Conversation

@Jingxi-Polymaker

Copy link
Copy Markdown
Collaborator

The merged PostHog client had no workflow supplying its project token, so all CI captures were disabled. Add a dedicated workflow on main pushes and manual runs that installs dependencies, reads the POSTHOG_API_KEY secret and POSTHOG_HOST variable, and runs the index and SEO generators.

Uses read-only repository permissions, disables persisted checkout credentials, and limits execution to main. Generated files remain on the runner. Existing pull request jobs remain analytics-free. Uses a stable github-actions identity for build events.

Validation: YAML parsed locally and git diff --check passed. Repository token and US ingestion host were configured through the GitHub settings UI. End-to-end event verification follows the first main-branch run.

@Jingxi-Polymaker
Jingxi-Polymaker merged commit 50f8c5a into main Sep 7, 2026
8 checks passed
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