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.

chore(ci): report required checks on merge_group events (#62657)

Georges-Antoine Assi29a87ca391b7
diff --git a/.github/workflows/ci-dagster.yml b/.github/workflows/ci-dagster.yml
index 108e39398fec..47bf1ccddfc1 100644
--- a/.github/workflows/ci-dagster.yml
+++ b/.github/workflows/ci-dagster.yml
@@ -5,6 +5,11 @@ on:
branches:
- master
pull_request:
+ # Required so `Dagster Tests Pass` (a required status check) reports on merge
+ # queue entries — without it the queue would wait for the check until timeout.
+ # The jobs themselves skip on merge_group (the suite already runs in full on
+ # every PR) and the aggregator treats skipped as success.
+ merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
@@ -45,6 +50,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
name: Validate dagster path filter coverage
+ if: github.event_name != 'merge_group'
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
@@ -60,6 +66,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
name: Determine need to run dagster checks
+ if: github.event_name != 'merge_group'
# Set job outputs to values from filter step
outputs:
dagster: ${{ steps.filter.outputs.dagster || 'true' }}
diff --git a/.github/workflows/ci-e2e-playwright.yml b/.github/workflows/ci-e2e-playwright.yml
index cedddbe3cbec..0e6079025ff8 100644
--- a/.github/workflows/ci-e2e-playwright.yml
+++ b/.github/workflows/ci-e2e-playwright.yml
@@ -16,6 +16,11 @@ on:
push:
branches:
- master
+ # Required so `Playwright tests pass` (a required status check) reports on
+ # merge queue entries — without it the queue would wait for the check until
+ # timeout. The jobs themselves skip on merge_group (the suite already runs
+ # in full on every PR) and the aggregator treats skipped as success.
+ merge_group:
permissions:
contents: read
@@ -72,10 +77,13 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
# Run on master push, manual dispatch, and on internal-repo PRs.
+ # Skipped on merge_group (explicitly, though the allowlist below would
+ # also skip it implicitly) — see the trigger comment above.
if: |
+ github.event_name != 'merge_group' && (
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
- github.event.pull_request.head.repo.full_name == github.repository
+ github.event.pull_request.head.repo.full_name == github.repository)
name: Determine need to run E2E checks
outputs:
shouldRun: ${{ steps.decide.outputs.shouldRun }}
diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.yml
index c4412af6ad3a..9b83353792a0 100644
--- a/.github/workflows/ci-mcp.yml
+++ b/.github/workflows/ci-mcp.yml
@@ -4,6 +4,11 @@ on:
push:
branches: [master]
pull_request:
+ # Required so `MCP Tests Pass` (a required status check) reports on merge
+ # queue entries — without it the queue would wait for the check until timeout.
+ # The jobs themselves skip on merge_group (the suite already runs in full on
+ # every PR) and the aggregator treats skipped as success.
+ merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
@@ -22,6 +27,7 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 5
name: Determine need to run MCP checks
+ if: github.event_name != 'merge_group'
outputs:
mcp: ${{ steps.filter.outputs.mcp || 'true' }}
steps: