From cd9a7ec6a876678ccbb35be48a9a60f7cac112f7 Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Wed, 26 Feb 2025 10:56:59 +0000 Subject: [PATCH 1/2] Don't run Go tests on documentation changes --- .github/workflows/go-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index bf6cd209e15d..994aba441826 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -3,6 +3,7 @@ on: push: paths: - "go/**" + - "!go/documentation/**" - "shared/**" - .github/workflows/go-tests.yml - .github/actions/** @@ -13,6 +14,7 @@ on: pull_request: paths: - "go/**" + - "!go/documentation/**" - "shared/**" - .github/workflows/go-tests.yml - .github/actions/** From 2961320f0272f803ca09c30810fe34b4c04df994 Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Wed, 26 Feb 2025 11:02:04 +0000 Subject: [PATCH 2/2] Don't run Go Mac & Win tests against documentation PRs --- .github/workflows/go-tests-other-os.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/go-tests-other-os.yml b/.github/workflows/go-tests-other-os.yml index 2760a8a4b51a..99b45e31dcdb 100644 --- a/.github/workflows/go-tests-other-os.yml +++ b/.github/workflows/go-tests-other-os.yml @@ -3,6 +3,7 @@ on: pull_request: paths: - "go/**" + - "!go/documentation/**" - "!go/ql/**" # don't run other-os if only ql/ files changed - .github/workflows/go-tests-other-os.yml - .github/actions/**