: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
chore(ci): add permissions to visual regression job (#60192)
Julian Bezf0e86d7e5910
diff --git a/.github/workflows/ci-e2e-playwright.yml b/.github/workflows/ci-e2e-playwright.ymlindex d953fa03ba66..05be812e7544 100644--- a/.github/workflows/ci-e2e-playwright.yml+++ b/.github/workflows/ci-e2e-playwright.yml@@ -258,6 +258,9 @@ jobs:# Talk to #team-devex before changing.runs-on: depot-ubuntu-latest-8timeout-minutes: 45+ permissions:+ contents: read+ pull-requests: writeoutputs:vr_run_id: ${{ steps.vr-create.outputs.run_id }}steps:@@ -266,6 +269,10 @@ jobs:ref: ${{ github.event.pull_request.head.sha || github.sha }}repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}clean: false+ # PR-controlled code runs in this job (pnpm installs, Playwright tests). Don't leave+ # GITHUB_TOKEN in .git/config where that code could read it — the comment step+ # below receives the token explicitly via its `github-token:` input instead.+ persist-credentials: false- name: Clean up data directories with container permissionsrun: |# Use docker to clean up files created by containers