: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): narrow the desktop react doctor checkout (#128339)
posthog[bot]06b1714c81fd
diff --git a/.github/workflows/desktop-react-doctor.yml b/.github/workflows/desktop-react-doctor.ymlindex ef23ed0784bc..2ccc7fad9591 100644--- a/.github/workflows/desktop-react-doctor.yml+++ b/.github/workflows/desktop-react-doctor.yml@@ -38,6 +38,12 @@ jobs:with:fetch-depth: 2persist-credentials: false+ sparse-checkout: |+ /*+ !/*/+ /products/desktop/+ /.github/scripts/desktop/react-doctor-comment.mjs+ sparse-checkout-cone-mode: false# nosemgrep: yaml.github-actions.security.github-actions-mutable-action-tag.github-actions-mutable-action-tag- uses: actions/[email protected]@@ -100,6 +106,11 @@ jobs:echo "exit-code=0" >> "$GITHUB_OUTPUT"exit 0fi+ BASELINE_BLOBS="${RUNNER_TEMP}/react-doctor-baseline-blobs.txt"+ git rev-list --objects --missing=print "$REACT_DOCTOR_BASE_SHA:products/desktop" | sed -n 's/^?//p' | sort -u > "$BASELINE_BLOBS" || exit 1+ if [ -s "$BASELINE_BLOBS" ]; then+ git fetch --no-tags --no-write-fetch-head --stdin origin < "$BASELINE_BLOBS" || exit 1+ fiREPORT="${RUNNER_TEMP}/react-doctor-report.json"status=0# Pinned: products/desktop/pnpm-workspace.yaml's minimum release age makes @latest