Skip to content

: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.

ci(playwright): skip the push debounce on merge-queue branches (#125811)

Raúl Negrón-Otero9a48df87b25b
diff --git a/.github/workflows/ci-e2e-playwright.yml b/.github/workflows/ci-e2e-playwright.yml
index 1c648ec65971..7909c2b6e11d 100644
--- a/.github/workflows/ci-e2e-playwright.yml
+++ b/.github/workflows/ci-e2e-playwright.yml
@@ -272,8 +272,9 @@ jobs:
# launches. After the wait, if the PR head has already moved past this run's
# SHA, skip: the newer run is the real gate (and always runs, since the tip
# is never stale against itself). Single pushes just pay the short wait.
+ # Trunk rarely re-pushes a merge-queue branch, and the concurrency group cancels the older run.
id: debounce
- if: steps.decide.outputs.shouldRun == 'true' && github.event_name == 'pull_request'
+ if: steps.decide.outputs.shouldRun == 'true' && github.event_name == 'pull_request' && !startsWith(github.head_ref, 'trunk-merge/')
env:
GH_TOKEN: ${{ steps.app-token.outputs.token || github.token }}
REPO: ${{ github.repository }}