Skip to content

Use readonly PostHog key in CI#426

Merged
blove merged 1 commit into
mainfrom
codex/posthog-readonly-ci-key
May 18, 2026
Merged

Use readonly PostHog key in CI#426
blove merged 1 commit into
mainfrom
codex/posthog-readonly-ci-key

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 18, 2026

Summary

  • switch PostHog CI drift and scheduled live-quality checks to POSTHOG_PERSONAL_API_KEY_READONLY
  • add workflow guard tests so those jobs do not regress to the write-scoped secret
  • update PostHog tooling docs to distinguish local write key vs CI readonly key

Verification

  • PATH=/tmp/codex-node-v24/bin:$PATH npx tsx --test scripts/ci-workflow.spec.mjs
  • PATH=/tmp/codex-node-v24/bin:$PATH npx nx run posthog-tools:test
  • set -a; source /Users/blove/repos/angular-agent-framework/.env; set +a; export POSTHOG_PERSONAL_API_KEY="$POSTHOG_PERSONAL_API_KEY_READONLY"; PATH=/tmp/codex-node-v24/bin:$PATH npx nx run posthog-tools:sync:plan
  • set -a; source /Users/blove/repos/angular-agent-framework/.env; set +a; export POSTHOG_PERSONAL_API_KEY="$POSTHOG_PERSONAL_API_KEY_READONLY"; PATH=/tmp/codex-node-v24/bin:$PATH npx nx run posthog-tools:quality:live -- --days 7 --limit-per-event 25 --require-critical-coverage
  • PATH=/tmp/codex-node-v24/bin:$PATH npx prettier --check .github/workflows/ci.yml .github/workflows/posthog-quality.yml scripts/ci-workflow.spec.mjs tools/posthog/README.md && git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 18, 2026 6:18pm

Request Review

@blove blove enabled auto-merge (squash) May 18, 2026 18:15
@blove blove merged commit d0a5326 into main May 18, 2026
16 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