: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): migrate remaining paths-filter call sites to the vendored action (#69171)
Paul D'Ambrac403b48805d1
diff --git a/.depot/workflows/ci-backend.yml b/.depot/workflows/ci-backend.ymlindex 3b351ff70329..05828300fbfa 100644--- a/.depot/workflows/ci-backend.yml+++ b/.depot/workflows/ci-backend.yml@@ -166,7 +166,7 @@ jobs:echo "::notice::Optional Backend CI: PR sampled OUT (bucket $bucket >= ${PERCENT}%) — skipped."fi# Job to decide if we should run backend ci- # See https://github.com/dorny/paths-filter#conditional-execution for more details+ # See .github/actions/paths-filter/README.md for filter semanticschanges:# Root of the `needs` graph: skipped when `sample` says skip (or is itself skipped# at percent 0/unset), which cascades the whole workflow off.diff --git a/.github/actionlint.yaml b/.github/actionlint.yamlindex d85462c3a2e2..82ae3cd9ffff 100644--- a/.github/actionlint.yaml+++ b/.github/actionlint.yaml@@ -18,3 +18,6 @@ paths:'.github/workflows/**/*.yml':ignore:- 'property ".+" is not defined in object type \{changes: string\}'+ '.github/workflows/**/*.yaml':+ ignore:+ - 'property ".+" is not defined in object type \{changes: string\}'diff --git a/.github/workflows/cd-sandbox-base-image.yml b/.github/workflows/cd-sandbox-base-image.ymlindex 00ecab433557..a5d50004a21a 100644--- a/.github/workflows/cd-sandbox-base-image.yml+++ b/.github/workflows/cd-sandbox-base-image.yml@@ -33,7 +33,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterwith:token: ${{ steps.app-token.outputs.token || github.token }}diff --git a/.github/workflows/ci-agent-container.yml b/.github/workflows/ci-agent-container.ymlindex 21d5a5865ac1..d66367d04c53 100644--- a/.github/workflows/ci-agent-container.yml+++ b/.github/workflows/ci-agent-container.yml@@ -57,7 +57,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterwith:token: ${{ steps.app-token.outputs.token || github.token }}diff --git a/.github/workflows/ci-agent-proxy.yml b/.github/workflows/ci-agent-proxy.ymlindex 659084675654..318bc5f555f6 100644--- a/.github/workflows/ci-agent-proxy.yml+++ b/.github/workflows/ci-agent-proxy.yml@@ -31,7 +31,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push'with:diff --git a/.github/workflows/ci-agent-skills.yml b/.github/workflows/ci-agent-skills.ymlindex cf7391015247..ab9b4e3fc7f3 100644--- a/.github/workflows/ci-agent-skills.yml+++ b/.github/workflows/ci-agent-skills.yml@@ -33,7 +33,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push'with:diff --git a/.github/workflows/ci-agents.yml b/.github/workflows/ci-agents.ymlindex f670a566af8a..c9f6846c25c5 100644--- a/.github/workflows/ci-agents.yml+++ b/.github/workflows/ci-agents.yml@@ -35,7 +35,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push' # Run all checks on master pushwith:diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.ymlindex 098e38584ef5..8f1e8b800676 100644--- a/.github/workflows/ci-backend.yml+++ b/.github/workflows/ci-backend.yml@@ -72,7 +72,7 @@ permissions:jobs:# Job to decide if we should run backend ci- # See https://github.com/dorny/paths-filter#conditional-execution for more details+ # See .github/actions/paths-filter/README.md for filter semanticschanges:runs-on: depot-ubuntu-latesttimeout-minutes: 5@@ -1018,7 +1018,7 @@ jobs:GH_TOKEN: ${{ steps.app-token.outputs.token }}CHANGED_FILES: ${{ needs.changes.outputs.product_yamls_files }}run: |- # CHANGED_FILES is space-separated (dorny list-files: escape).+ # CHANGED_FILES is space-separated (paths-filter list-files: escape).# Each entry is products/<name>/product.yaml — strip to <name>.names=$(echo "$CHANGED_FILES" | tr ' ' '\n' | sed -n 's|^products/\([^/]*\)/product.yaml$|\1|p' | xargs)# Drop products whose product.yaml was deleted in this PR (e.g. thediff --git a/.github/workflows/ci-dagster.yml b/.github/workflows/ci-dagster.ymlindex 37d3fc6a5e82..de18a3e46bf3 100644--- a/.github/workflows/ci-dagster.yml+++ b/.github/workflows/ci-dagster.yml@@ -59,7 +59,7 @@ jobs:- run: uv run .github/scripts/check-dagster-paths.py# Job to decide if we should run dagster ci- # See https://github.com/dorny/paths-filter#conditional-execution for more details+ # See .github/actions/paths-filter/README.md for filter semanticschanges:runs-on: ubuntu-latesttimeout-minutes: 5@@ -89,7 +89,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push' # Run all tests on master pushwith:diff --git a/.github/workflows/ci-e2e-playwright.yml b/.github/workflows/ci-e2e-playwright.ymlindex 54bc21d508b8..12ccb6ab12a9 100644--- a/.github/workflows/ci-e2e-playwright.yml+++ b/.github/workflows/ci-e2e-playwright.yml@@ -102,14 +102,16 @@ jobs:# blob:none, the post-fetch `git checkout` lazy-fetches every blob in HEAD# and the per-blob credential lookup intermittently fails with "could not# read Username for github.com" (e.g. #59779 on 2026-05-23, blocked merge- # until the job was retried). Materializing only the one file this job- # reads collapses the lazy fetch to a handful of blobs.+ # until the job was retried). Materializing only the files this job reads+ # (plus the local paths-filter action, which must exist on disk to run)+ # collapses the lazy fetch to a handful of blobs.- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:fetch-depth: 1000filter: blob:noneclean: falsesparse-checkout: |+ .github/actions/paths-filter.github/clickhouse-versions.jsondocker-compose.base.ymlsparse-checkout-cone-mode: false@@ -121,7 +123,7 @@ jobs:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: changesif: github.event_name == 'pull_request'with:@@ -146,7 +148,7 @@ jobs:# Visual Review auto-commits a snapshot baseline after human review and CI# approval. Re-running the ~25-min E2E stack for that bot push is pure waste;# the `playwright_tests` aggregator treats the resulting skip as success. Key- # off the push delta (this push's commits), not the whole-PR diff dorny reports,+ # off the push delta (this push's commits), not the whole-PR diff the filter reports,# so it fires even when the PR also carries real code changes.- name: Detect Visual Review baseline-only pushid: baseline_pushdiff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.ymlindex a2f88660b855..4f6aab7cc033 100644--- a/.github/workflows/ci-frontend.yml+++ b/.github/workflows/ci-frontend.yml@@ -26,7 +26,7 @@ env:jobs:# Job to decide if we should run frontend ci- # See https://github.com/dorny/paths-filter#conditional-execution for more details+ # See .github/actions/paths-filter/README.md for filter semantics# we skip each step individually, so they are still reported as success# because many of them are required for CI checks to be greenchanges:@@ -61,7 +61,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push' # Run all tests on master pushwith:@@ -145,20 +145,18 @@ jobs:# that declare nested pnpm workspaces) rather than hardcoded, so a new product's# services are excluded automatically — see bin/frontend-exclude-filter.#- # A separate `every`-quantifier step is required: appending a plain `!...` to the- # broad filter wouldn't work because dorny's default `some` quantifier OR-matches- # predicates and neutralizes the negation (same gotcha as- # ci-migrations-service-separation-check.yml). With `every`, the filter is true- # only when some changed file lives OUTSIDE every excluded dir.+ # A separate step is still needed because these exclusions are generated at+ # runtime from pnpm-workspace.yaml into a filter file, while the main filter+ # above is inline YAML — paths-filter takes one or the other. The exclude-only+ # filter is true only when some changed file lives OUTSIDE every excluded dir.- name: Derive Node-only product workspace exclusionsif: github.event_name != 'push'run: bin/frontend-exclude-filter > "$RUNNER_TEMP/frontend-exclude.yml"- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: excludeif: github.event_name != 'push'with:token: ${{ steps.app-token.outputs.token || github.token }}- predicate-quantifier: 'every'filters: ${{ runner.temp }}/frontend-exclude.yml# Pick which jest tests to run on draft PRs by passing changed files todiff --git a/.github/workflows/ci-hobby.yml b/.github/workflows/ci-hobby.ymlindex 1099ea2b073d..a2197c9ac11c 100644--- a/.github/workflows/ci-hobby.yml+++ b/.github/workflows/ci-hobby.yml@@ -25,7 +25,7 @@ permissions:jobs:# Determine if we should run based on changed files or preview label- # See https://github.com/dorny/paths-filter#conditional-execution+ # See .github/actions/paths-filter/README.md for filter semanticschanges:runs-on: ubuntu-latesttimeout-minutes: 5@@ -44,7 +44,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterwith:token: ${{ steps.app-token.outputs.token || github.token }}diff --git a/.github/workflows/ci-hog.yml b/.github/workflows/ci-hog.ymlindex 3053b31e9d89..15527c119c6a 100644--- a/.github/workflows/ci-hog.yml+++ b/.github/workflows/ci-hog.yml@@ -18,7 +18,7 @@ concurrency:jobs:# Job to decide if we should run backend ci- # See https://github.com/dorny/paths-filter#conditional-execution for more details+ # See .github/actions/paths-filter/README.md for filter semanticschanges:runs-on: ubuntu-24.04timeout-minutes: 5@@ -40,7 +40,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push' # Run all tests on master pushwith:diff --git a/.github/workflows/ci-llm-gateway.yml b/.github/workflows/ci-llm-gateway.ymlindex b2363ecd2234..de39afab4292 100644--- a/.github/workflows/ci-llm-gateway.yml+++ b/.github/workflows/ci-llm-gateway.yml@@ -42,7 +42,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push' # Run all tests on master pushwith:diff --git a/.github/workflows/ci-mcp-ui-apps.yml b/.github/workflows/ci-mcp-ui-apps.ymlindex 2f168faf5de5..a20bea36c060 100644--- a/.github/workflows/ci-mcp-ui-apps.yml+++ b/.github/workflows/ci-mcp-ui-apps.yml@@ -29,7 +29,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push'with:diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.ymlindex 18f3852228eb..4818aa58f215 100644--- a/.github/workflows/ci-mcp.yml+++ b/.github/workflows/ci-mcp.yml@@ -45,7 +45,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push' # Run all tests on master pushwith:diff --git a/.github/workflows/ci-ml-mirror-image-scrub-container.yml b/.github/workflows/ci-ml-mirror-image-scrub-container.ymlindex ef86fa0512b6..e8e9801c81be 100644--- a/.github/workflows/ci-ml-mirror-image-scrub-container.yml+++ b/.github/workflows/ci-ml-mirror-image-scrub-container.yml@@ -33,7 +33,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterwith:token: ${{ steps.app-token.outputs.token || github.token }}diff --git a/.github/workflows/ci-nodejs-container.yml b/.github/workflows/ci-nodejs-container.ymlindex af4bd11ed68c..2a575891213d 100644--- a/.github/workflows/ci-nodejs-container.yml+++ b/.github/workflows/ci-nodejs-container.yml@@ -51,7 +51,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterwith:token: ${{ steps.app-token.outputs.token || github.token }}diff --git a/.github/workflows/ci-nodejs.yml b/.github/workflows/ci-nodejs.ymlindex f17b4eb47af2..2d6414ec0c6d 100644--- a/.github/workflows/ci-nodejs.yml+++ b/.github/workflows/ci-nodejs.yml@@ -23,7 +23,7 @@ concurrency:jobs:# Job to decide if we should run nodejs services ci- # See https://github.com/dorny/paths-filter#conditional-execution for more details+ # See .github/actions/paths-filter/README.md for filter semanticschanges:runs-on: ubuntu-latesttimeout-minutes: 10@@ -48,7 +48,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push' # Run all tests on master pushwith:diff --git a/.github/workflows/ci-oauth-proxy.yml b/.github/workflows/ci-oauth-proxy.ymlindex c0c958bbe726..bf9426483c31 100644--- a/.github/workflows/ci-oauth-proxy.yml+++ b/.github/workflows/ci-oauth-proxy.yml@@ -29,7 +29,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push'with:diff --git a/.github/workflows/ci-proto.yml b/.github/workflows/ci-proto.ymlindex 12e1633e4c54..eca198fdd7f0 100644--- a/.github/workflows/ci-proto.yml+++ b/.github/workflows/ci-proto.yml@@ -32,7 +32,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push'with:diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.ymlindex 15353a838925..ce658d19bd85 100644--- a/.github/workflows/ci-python.yml+++ b/.github/workflows/ci-python.yml@@ -20,7 +20,7 @@ env:jobs:# Job to decide if we should run python ci- # See https://github.com/dorny/paths-filter#conditional-execution for more details+ # See .github/actions/paths-filter/README.md for filter semanticschanges:runs-on: ubuntu-latesttimeout-minutes: 5@@ -39,7 +39,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push' # Run all tests on master pushwith:diff --git a/.github/workflows/ci-recording-rasterizer-container.yml b/.github/workflows/ci-recording-rasterizer-container.ymlindex 716890123d9d..a34740acee1a 100644--- a/.github/workflows/ci-recording-rasterizer-container.yml+++ b/.github/workflows/ci-recording-rasterizer-container.yml@@ -57,7 +57,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterwith:token: ${{ steps.app-token.outputs.token || github.token }}diff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.ymlindex 7f0e38d6a0de..f467cc3b7019 100644--- a/.github/workflows/ci-rust.yml+++ b/.github/workflows/ci-rust.yml@@ -17,7 +17,7 @@ env:jobs:# Job to decide if we should run rust ci- # See https://github.com/dorny/paths-filter#conditional-execution for more details+ # See .github/actions/paths-filter/README.md for filter semanticschanges:runs-on: ubuntu-24.04timeout-minutes: 5@@ -41,7 +41,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push' # Run all tests on master pushwith:diff --git a/.github/workflows/ci-security.yaml b/.github/workflows/ci-security.yamlindex f8d7ed74302d..d6a806703607 100644--- a/.github/workflows/ci-security.yaml+++ b/.github/workflows/ci-security.yaml@@ -16,7 +16,7 @@ env:jobs:# Job to decide if we should run language-specific semgrep scans.- # See https://github.com/dorny/paths-filter#conditional-execution for more details.+ # See .github/actions/paths-filter/README.md for filter semantics# NOTE: With token auth, paths-filter uses pulls.listFiles which caps at# 3000 changed files. PRs exceeding that will silently truncate, but the# outputs default to 'true' so scans run unconditionally (safe fallback).@@ -38,7 +38,7 @@ jobs:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:clean: false- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push' # Run all scans on master pushwith:diff --git a/.github/workflows/ci-storybook.yml b/.github/workflows/ci-storybook.ymlindex 2f8d519aea44..264bc8d74948 100644--- a/.github/workflows/ci-storybook.yml+++ b/.github/workflows/ci-storybook.yml@@ -21,7 +21,7 @@ permissions:jobs:# Job to decide if we should run storybook ci- # See https://github.com/dorny/paths-filter#conditional-execution for more details+ # See .github/actions/paths-filter/README.md for filter semanticschanges:runs-on: ubuntu-latesttimeout-minutes: 5@@ -29,16 +29,16 @@ jobs:if: github.event_name != 'merge_group'# Set job outputs to values from filter stepoutputs:- # With dorny's default predicate-quantifier (some), '!path' matches- # every file NOT at that path — effectively matching ALL changes- # including backend files. Instead we use two positive filters and- # compare counts to exclude generated-only PRs.+ # Two positive filters compared by count exclude generated-only PRs.+ # This predates the vendored paths-filter's include-exclude matching;+ # it could now be a plain '!frontend/src/generated/**' exclude on the+ # frontend filter, kept as-is here to leave gating behavior untouched.## Additionally skip when a bot's push adds only snapshot baselines —# Visual Review auto-commits frontend/snapshots.yml after human review# and CI approval, so re-running the suite is pure waste. The detect# step keys off the push delta (this push's commits), not the whole-PR- # diff dorny reports, so it fires even when the PR also has code changes.+ # diff the filter reports, so it fires even when the PR also has code changes.frontend: >-${{github.event_name == 'push'@@ -52,9 +52,8 @@ jobs:steps:# Needed by the "Derive Node-only product workspace exclusions" step (reads# pnpm-workspace.yaml + bin/frontend-exclude-filter) and by the local- # ./.github/actions/paths-filter exclude step, which must exist on disk. The- # remote dorny filter step needs no checkout (it diffs via the API), so this- # job didn't check out before those two were added.+ # ./.github/actions/paths-filter steps, which must exist on disk (on+ # pull_request events they still diff via the API, not the checkout).- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1@@ -63,7 +62,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterif: github.event_name != 'push' # Run all tests on master pushwith:@@ -123,11 +122,10 @@ jobs:# The excluded dirs are derived from pnpm-workspace.yaml (the product paths that# declare nested pnpm workspaces), not hardcoded — see bin/frontend-exclude-filter.#- # A separate step is required because the main filter above still runs on- # dorny/paths-filter, whose default `some` quantifier neutralizes a plain- # `!...` (same gotcha as the output comment above). The vendored action's- # exclude semantics make this generated exclude-only filter true only when- # some changed file lives OUTSIDE every excluded dir.+ # A separate step is required because these exclusions are generated at+ # runtime from pnpm-workspace.yaml into a filter file, while the main filter+ # above is inline YAML — paths-filter takes one or the other. The exclude-only+ # filter is true only when some changed file lives OUTSIDE every excluded dir.- name: Derive Node-only product workspace exclusionsif: github.event_name != 'push'run: bin/frontend-exclude-filter > "$RUNNER_TEMP/frontend-exclude.yml"diff --git a/.github/workflows/container-images-cd.yml b/.github/workflows/container-images-cd.ymlindex 82173663691f..1ebc4f174611 100644--- a/.github/workflows/container-images-cd.yml+++ b/.github/workflows/container-images-cd.yml@@ -395,7 +395,7 @@ jobs:- name: Check for changes that affect error tracking temporal workerid: check_changes_error_tracking_temporal_worker- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ uses: ./.github/actions/paths-filterwith:filters: |changed:@@ -645,8 +645,8 @@ jobs:"timestamp": "${{ github.event.head_commit.timestamp }}"}- - name: Check for changes that affect temporal workers (dorny)- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - name: Check for changes that affect temporal workers+ uses: ./.github/actions/paths-filterid: check_temporal_worker_changeswith:filters: |diff --git a/.github/workflows/container-images-ci.yml b/.github/workflows/container-images-ci.ymlindex 4334bdef6991..1f5dd956c83b 100644--- a/.github/workflows/container-images-ci.yml+++ b/.github/workflows/container-images-ci.yml@@ -50,7 +50,7 @@ jobs:with:client-id: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_APP_ID }}private-key: ${{ secrets.GH_APP_POSTHOG_PATHS_FILTER_PRIVATE_KEY }}- - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1+ - uses: ./.github/actions/paths-filterid: filterwith:token: ${{ steps.app-token.outputs.token || github.token }}diff --git a/bin/frontend-exclude-filter b/bin/frontend-exclude-filterindex 4b8296b6b7a4..329319712087 100755--- a/bin/frontend-exclude-filter+++ b/bin/frontend-exclude-filter@@ -18,11 +18,10 @@* once added to the workspace file — no product names hardcoded in the workflows.** Output — an exclude-only filter that is true only when some changed file lives- * OUTSIDE every excluded dir. ci-storybook.yml feeds it to the vendored- * .github/actions/paths-filter (include-exclude matching); ci-frontend.yml still- * feeds it to dorny/paths-filter with `predicate-quantifier: every`. Both regimes- * are equivalent for an exclude-only filter; they would diverge if a positive- * include were ever added here:+ * OUTSIDE every excluded dir. ci-storybook.yml and ci-frontend.yml feed it to the+ * vendored .github/actions/paths-filter (include-exclude matching), where every+ * `!` pattern vetoes and a filter with no positive includes matches any+ * non-excluded file:* outside_node_product_workspaces:* - '!products/agent_platform/packages/**'* - '!products/agent_platform/services/**'