: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
feat(ci): dedicate the devex setup-action bucket to ci-backend (#61702)
Raúl Negrón-Otero2db951b4aa6b
diff --git a/.github/workflows/cd-sandbox-base-image.yml b/.github/workflows/cd-sandbox-base-image.ymlindex 1a510fd298dd..c9e6bd60377e 100644--- a/.github/workflows/cd-sandbox-base-image.yml+++ b/.github/workflows/cd-sandbox-base-image.yml@@ -60,21 +60,11 @@ jobs:COMPOSE_FILE: docker-compose.dev.yml:docker-compose.profiles.ymlrun: bin/ci-wait-for-docker launch- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version-file: 'pyproject.toml'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvuses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0diff --git a/.github/workflows/ci-agent-skills.yml b/.github/workflows/ci-agent-skills.ymlindex 0f7f3832e902..f136e3c8eb15 100644--- a/.github/workflows/ci-agent-skills.yml+++ b/.github/workflows/ci-agent-skills.yml@@ -74,21 +74,11 @@ jobs:run: |bin/ci-wait-for-docker launch --down- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version-file: 'pyproject.toml'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvuses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0@@ -176,21 +166,11 @@ jobs:run: |bin/ci-wait-for-docker launch --down- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version-file: 'pyproject.toml'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvuses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0diff --git a/.github/workflows/ci-dagster.yml b/.github/workflows/ci-dagster.ymlindex 435612162859..15b8c830aded 100644--- a/.github/workflows/ci-dagster.yml+++ b/.github/workflows/ci-dagster.yml@@ -262,21 +262,11 @@ jobs:CLICKHOUSE_SERVER_IMAGE: ${{ matrix.clickhouse-server-image }}run: bin/ci-wait-for-docker wait- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version-file: 'pyproject.toml'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvid: setup-uvdiff --git a/.github/workflows/ci-e2e-playwright.yml b/.github/workflows/ci-e2e-playwright.ymlindex 43fb7cb88cd0..d1a419cbc372 100644--- a/.github/workflows/ci-e2e-playwright.yml+++ b/.github/workflows/ci-e2e-playwright.yml@@ -245,21 +245,11 @@ jobs:shell: bashrun: echo "127.0.0.1 db redis7 kafka clickhouse clickhouse-coordinator objectstorage seaweedfs temporal" | sudo tee -a /etc/hosts- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: 3.12.12- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvid: setup-uv@@ -295,7 +285,7 @@ jobs:cache-dependency-path: |pnpm-lock.yaml.github/workflows/ci-e2e-playwright.yml- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}# Workaround for SIGABRT (exit 134) raised after all tests pass.# See https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#tlambert03-setup-qt-libs@@ -821,21 +811,11 @@ jobs:playwright/snapshots.ymlsparse-checkout-cone-mode: false- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrc- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install VR CLIrun: cd products/visual_review/cli && npm ci && npm run build && npm linkdiff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.ymlindex 3ebddc03a4ee..fc82dce9dc1f 100644--- a/.github/workflows/ci-frontend.yml+++ b/.github/workflows/ci-frontend.yml@@ -112,21 +112,11 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrc- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Get pnpm store pathid: pnpm-store@@ -182,21 +172,11 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrc- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Get pnpm store pathid: pnpm-store@@ -300,21 +280,11 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrc- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Get pnpm store pathid: pnpm-store@@ -409,21 +379,11 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrc- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Get pnpm store pathid: pnpm-storediff --git a/.github/workflows/ci-hog.yml b/.github/workflows/ci-hog.ymlindex 2e2df7dc1e00..c43d753fe726 100644--- a/.github/workflows/ci-hog.yml+++ b/.github/workflows/ci-hog.yml@@ -73,21 +73,11 @@ jobs:with:fetch-depth: 1- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version-file: 'pyproject.toml'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvid: setup-uv@@ -116,7 +106,7 @@ jobs:with:node-version-file: .nvmrccache: 'pnpm'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Check if ANTLR definitions are up to daterun: |@@ -189,20 +179,11 @@ jobs:uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:fetch-depth: 1- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version-file: 'pyproject.toml'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvid: setup-uv-hogql-pythonuses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0@@ -227,7 +208,7 @@ jobs:node-version-file: .nvmrccache: 'pnpm'registry-url: https://registry.npmjs.org- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install package.json dependenciesrun: pnpm --filter=@posthog/hogvm install --frozen-lockfile- name: Publish the package in the npm registrydiff --git a/.github/workflows/ci-llm-gateway.yml b/.github/workflows/ci-llm-gateway.ymlindex 2c6ac961d4de..7ae764a2f5ac 100644--- a/.github/workflows/ci-llm-gateway.yml+++ b/.github/workflows/ci-llm-gateway.yml@@ -62,21 +62,11 @@ jobs:steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: '3.12'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvuses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0diff --git a/.github/workflows/ci-mcp-ui-apps.yml b/.github/workflows/ci-mcp-ui-apps.ymlindex 66abc97c63d7..2aaf643fff6b 100644--- a/.github/workflows/ci-mcp-ui-apps.yml+++ b/.github/workflows/ci-mcp-ui-apps.yml@@ -68,22 +68,12 @@ jobs:- name: Setup pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Setup Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrccache: 'pnpm'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install dependenciesrun: pnpm --filter=@posthog/mcp... --filter='./products/*' install --frozen-lockfilediff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.ymlindex 107490c8a4b5..89f587358600 100644--- a/.github/workflows/ci-mcp.yml+++ b/.github/workflows/ci-mcp.yml@@ -98,21 +98,11 @@ jobs:- name: Checkout codeuses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: 3.12.12- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvuses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0@@ -133,7 +123,7 @@ jobs:with:node-version-file: .nvmrccache: 'pnpm'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install dependenciesrun: pnpm --filter=@posthog/mcp... --filter='./products/*' install --frozen-lockfile@@ -182,16 +172,6 @@ jobs:- name: Checkout codeuses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Setup pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8@@ -200,7 +180,7 @@ jobs:with:node-version-file: .nvmrccache: 'pnpm'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install dependenciesrun: pnpm --filter=@posthog/mcp... --filter='./products/*' install --frozen-lockfile@@ -340,21 +320,11 @@ jobs:shell: bashrun: echo "127.0.0.1 db redis7 kafka clickhouse clickhouse-coordinator objectstorage seaweedfs temporal" | sudo tee -a /etc/hosts- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: 3.12.12- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvuses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0@@ -377,7 +347,7 @@ jobs:with:node-version-file: .nvmrccache: 'pnpm'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install Python dependenciesshell: bashdiff --git a/.github/workflows/ci-nodejs.yml b/.github/workflows/ci-nodejs.ymlindex d48e4dc278c7..52111b154228 100644--- a/.github/workflows/ci-nodejs.yml+++ b/.github/workflows/ci-nodejs.yml@@ -78,16 +78,6 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:@@ -96,7 +86,7 @@ jobs:cache-dependency-path: |pnpm-lock.yaml.github/workflows/ci-nodejs.yml- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install package.json dependencies with pnpmenv:@@ -127,16 +117,6 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:@@ -145,7 +125,7 @@ jobs:cache-dependency-path: |pnpm-lock.yaml.github/workflows/ci-nodejs.yml- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install package.json dependencies with pnpmenv:@@ -222,21 +202,11 @@ jobs:- name: Add service hostnames to /etc/hostsrun: echo "127.0.0.1 db redis7 kafka clickhouse clickhouse-coordinator objectstorage seaweedfs temporal" | sudo tee -a /etc/hosts- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version-file: 'pyproject.toml'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvid: setup-uv@@ -284,7 +254,7 @@ jobs:cache-dependency-path: |pnpm-lock.yaml.github/workflows/ci-nodejs.yml- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Download MaxMind Databaserun: |diff --git a/.github/workflows/ci-oauth-proxy.yml b/.github/workflows/ci-oauth-proxy.ymlindex f710e8c35655..a35ea3a40ba5 100644--- a/.github/workflows/ci-oauth-proxy.yml+++ b/.github/workflows/ci-oauth-proxy.yml@@ -52,22 +52,12 @@ jobs:- name: Setup pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Setup Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrccache: 'pnpm'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install dependenciesrun: pnpm --filter=@posthog/auth-proxy... install --frozen-lockfilediff --git a/.github/workflows/ci-proto.yml b/.github/workflows/ci-proto.ymlindex 41acae151f43..e87d3087775f 100644--- a/.github/workflows/ci-proto.yml+++ b/.github/workflows/ci-proto.yml@@ -98,20 +98,10 @@ jobs:with:clean: false- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: '3.12'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install codegen toolsrun: pip install grpcio-tools protoletariat ruffdiff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.ymlindex 1ced3ff7cc4d..da0e7abd1e31 100644--- a/.github/workflows/ci-python.yml+++ b/.github/workflows/ci-python.yml@@ -85,21 +85,11 @@ jobs:with:fetch-depth: 1- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: 3.12.12- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvid: setup-uvdiff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.ymlindex d8a21526729f..67ec314b46e1 100644--- a/.github/workflows/ci-rust.yml+++ b/.github/workflows/ci-rust.yml@@ -341,21 +341,11 @@ jobs:- name: Install sccacheuses: ./.github/actions/setup-sccache- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Pythonuses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version-file: 'pyproject.toml'- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install uvid: setup-uvdiff --git a/.github/workflows/ci-storybook.yml b/.github/workflows/ci-storybook.ymlindex 9e94a2db67bf..8b25e1169e6f 100644--- a/.github/workflows/ci-storybook.yml+++ b/.github/workflows/ci-storybook.yml@@ -114,16 +114,6 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:@@ -132,7 +122,7 @@ jobs:cache-dependency-path: |pnpm-lock.yaml.github/workflows/ci-storybook.yml- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install dependenciesrun: pnpm --filter=@posthog/storybook... install --frozen-lockfile@@ -197,21 +187,11 @@ jobs:frontend/snapshots.ymlsparse-checkout-cone-mode: false- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrc- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install VR CLIrun: cd products/visual_review/cli && npm ci && npm run build && npm link@@ -271,21 +251,11 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrc- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Get pnpm store pathid: pnpm-store@@ -421,21 +391,11 @@ jobs:- name: Install pnpmuses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrc- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Get pnpm store pathid: pnpm-store@@ -530,21 +490,11 @@ jobs:frontend/snapshots.ymlsparse-checkout-cone-mode: false- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- name: Set up Node.jsuses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrc- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Install VR CLIrun: cd products/visual_review/cli && npm ci && npm run build && npm link@@ -625,20 +575,10 @@ jobs:ref: ${{ github.event.pull_request.head.sha }}repository: ${{ github.event.pull_request.head.repo.full_name }}- - name: Mint setup-action GitHub token- id: setup-gh-token- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository- continue-on-error: true- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1- with:- client-id: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_APP_ID }}- private-key: ${{ secrets.GH_APP_POSTHOG_DEVEX_GENERAL_PRIVATE_KEY }}- skip-token-revoke: true-- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0with:node-version-file: .nvmrc- token: ${{ steps.setup-gh-token.outputs.token || github.token }}+ token: ${{ github.token }}- name: Download module-graph artifactid: download