From a1a6e191ebdf9640f4de16e96b9cc3c09291aec3 Mon Sep 17 00:00:00 2001 From: Jeremy Hatfield Date: Wed, 19 Aug 2026 18:50:54 +0000 Subject: [PATCH] chore(ci): scope e2e-tests-split.yml's pull_request trigger to relevant paths The 15-job, 20-30 minute E2E matrix ran on every PR regardless of what changed, including CI-YAML-only changes to unrelated workflow files, doc-only comments, and release-please's version-bump-only PRs (which touch only .release-please-manifest.json) -- none of which can affect E2E test outcomes. Add a paths: filter to the pull_request trigger scoped to what the E2E suite actually builds/tests against: backend/**, frontend/**, tests/**, the Dockerfile and .dockerignore, the E2E compose files, root npm/playwright config, the go.work files, and the E2E workflow file itself. Matches the existing paths-on-pull_request-only convention already used in docker-build.yml and orthrus-build.yml. The push/workflow_run/workflow_dispatch triggers are left unfiltered, same as that existing convention -- this only reduces PR-iteration noise, not post-merge validation coverage. --- .github/workflows/e2e-tests-split.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/e2e-tests-split.yml b/.github/workflows/e2e-tests-split.yml index 485fd56dd..e9fe89428 100644 --- a/.github/workflows/e2e-tests-split.yml +++ b/.github/workflows/e2e-tests-split.yml @@ -80,6 +80,26 @@ on: default: false type: boolean pull_request: + # Only run this ~15-job, 20-30 minute E2E matrix for changes that can + # actually affect it. Everything else (CI-only workflow tweaks in other + # files, docs, release-please's version-bump-only PRs, skills/templates) + # skips it entirely. push/workflow_run/workflow_dispatch triggers above + # are deliberately left unfiltered -- see docker-build.yml/orthrus-build.yml + # for the same paths-on-pull_request-only convention already used in + # this repo. + paths: + - 'backend/**' + - 'frontend/**' + - 'tests/**' + - 'Dockerfile' + - '.dockerignore' + - '.docker/compose/**' + - 'package.json' + - 'package-lock.json' + - 'playwright.config.js' + - 'go.work' + - 'go.work.sum' + - '.github/workflows/e2e-tests-split.yml' env: NODE_VERSION: '24.19.0'