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): fix flags board and mcp unit tests outside the main repo (#124401)

Georges-Antoine Assi7317c8bc516b
diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.yml
index 586dc6f98c1d..9aad6a0c45d4 100644
--- a/.github/workflows/ci-mcp.yml
+++ b/.github/workflows/ci-mcp.yml
@@ -261,7 +261,7 @@ jobs:
unit-tests:
name: Unit Tests
- runs-on: ubuntu-24.04
+ runs-on: depot-ubuntu-24.04-4
timeout-minutes: 10
needs: changes
# Not on master push — master coverage comes from the hourly run (see `schedule`).
diff --git a/.github/workflows/pr-housekeeping.yml b/.github/workflows/pr-housekeeping.yml
index b718027a8c53..5fed5e497c59 100644
--- a/.github/workflows/pr-housekeeping.yml
+++ b/.github/workflows/pr-housekeeping.yml
@@ -73,7 +73,7 @@ jobs:
# every push wasted the run and fought manual card moves.
# No trunk-merge/**: the queue's copy of the PR would add a second,
# throwaway card for work the real PR already tracks.
- if: contains(fromJSON('["opened", "reopened", "ready_for_review", "review_requested", "converted_to_draft"]'), github.event.action) && github.event.pull_request.head.repo.full_name == github.repository && !startsWith(github.head_ref, 'trunk-merge/')
+ if: contains(fromJSON('["opened", "reopened", "ready_for_review", "review_requested", "converted_to_draft"]'), github.event.action) && github.event.pull_request.head.repo.full_name == github.repository && !startsWith(github.head_ref, 'trunk-merge/') && github.repository == 'PostHog/posthog'
uses: PostHog/.github/.github/workflows/flags-project-board.yml@2db3d3b946aeb9e479ce9f0078139a67f8ef38ce
permissions:
contents: read