From a5d942ec24665f6d15aacaf4a611bf82d9725835 Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Tue, 1 Sep 2026 11:57:49 +1000 Subject: [PATCH] ci: skip the e2e suites on test-only pushes A unit test cannot change what e2e exercises, so a push touching only _test.go files no longer provisions the tofu VMs. tests/e2e/** is listed after the exclusion so the e2e tests themselves still trigger their own suites. --- .github/workflows/e2e.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 734d03dba..0a513c2f9 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -7,6 +7,7 @@ on: - dev paths: - "**/*.go" + - "!**/*_test.go" - go.mod - go.sum - Makefile