:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(ci): restore github.token for node schema download (#82488)
Raúl Negrón-Otero910c4bf5b69a
diff --git a/.github/workflows/ci-nodejs.yml b/.github/workflows/ci-nodejs.ymlindex d42c6964a12c..7305eaa29899 100644--- a/.github/workflows/ci-nodejs.yml+++ b/.github/workflows/ci-nodejs.yml@@ -416,8 +416,8 @@ jobs:SECRET_KEY: 'abcdef' # unsafe - for testing onlyDATABASE_URL: 'postgres://posthog:posthog@localhost:5432/posthog'BEHAVIORAL_COHORTS_DATABASE_URL: 'postgres://posthog:posthog@localhost:5432/test_behavioral_cohorts'- # Schema artifact lookup pages the artifacts API; keep it off the shared per-repo bucket- GH_TOKEN: ${{ steps.setup-gh-token.outputs.token || github.token }}+ # Downloading an artifact requires the Actions permission, which the setup-actions app does not hold+ GH_TOKEN: ${{ github.token }}run: |# Download pre-migrated schema from CI./bin/hogli db:download-schema@@ -689,8 +689,8 @@ jobs:SECRET_KEY: 'abcdef' # unsafe - for testing onlyDATABASE_URL: 'postgres://posthog:posthog@localhost:5432/posthog'BEHAVIORAL_COHORTS_DATABASE_URL: 'postgres://posthog:posthog@localhost:5432/test_behavioral_cohorts'- # Schema artifact lookup pages the artifacts API; keep it off the shared per-repo bucket- GH_TOKEN: ${{ steps.setup-gh-token.outputs.token || github.token }}+ # Downloading an artifact requires the Actions permission, which the setup-actions app does not hold+ GH_TOKEN: ${{ github.token }}run: |# Download pre-migrated schema from CI./bin/hogli db:download-schema