: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): skip migration risk publish on fork prs (#58097)
Carlos Marchalae9940fdf6fa
diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.ymlindex e8b8c95704af..3a9fed438a92 100644--- a/.github/workflows/ci-backend.yml+++ b/.github/workflows/ci-backend.yml@@ -877,7 +877,13 @@ jobs:# definitive verdict on its head SHA. Consumers can then treat# "no completed check yet" purely as "CI hasn't finished" and# don't need a fallback heuristic.- if: always() && github.event_name == 'pull_request'+ #+ # Skipped on PRs from forks: GITHUB_TOKEN is read-only for fork+ # PRs regardless of the workflow's `permissions:` block, so the+ # check-runs POST 403s. The analyzer itself still runs in earlier+ # steps and fails the job on Blocked migrations; reviewers can+ # read the verdict in the uploaded migration-analysis artifact.+ if: always() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == falseenv:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}HEAD_SHA: ${{ github.event.pull_request.head.sha }}