From a11dba710e6ce6f172c0fa6c9b61567cc1efffc8 Mon Sep 17 00:00:00 2001 From: John Murret Date: Sun, 23 Jul 2023 13:08:15 -0600 Subject: [PATCH] NET-4996 - filter go-tests and test-integration workflows from running on docs only and ui only changes (#18236) --- .github/workflows/go-tests.yml | 11 +++++------ .github/workflows/test-integrations.yml | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index 60e7d10d26..4d51c11916 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -2,14 +2,13 @@ name: go-tests on: pull_request: - branches-ignore: - - stable-website + paths-ignore: + - '.changelog/**' + - '.github/ISSUE_TEMPLATE/**' + - 'contributing/**' - 'docs/**' - 'ui/**' - - 'mktg-**' # Digital Team Terraform-generated branches' prefix - - 'backport/docs/**' - - 'backport/ui/**' - - 'backport/mktg-**' + - 'website/**' push: branches: # Push events on the main branch diff --git a/.github/workflows/test-integrations.yml b/.github/workflows/test-integrations.yml index 6c96b5da1d..80c9dc8cf7 100644 --- a/.github/workflows/test-integrations.yml +++ b/.github/workflows/test-integrations.yml @@ -5,14 +5,13 @@ name: test-integrations on: pull_request: - branches-ignore: - - stable-website + paths-ignore: + - '.changelog/**' + - '.github/ISSUE_TEMPLATE/**' + - 'contributing/**' - 'docs/**' - 'ui/**' - - 'mktg-**' # Digital Team Terraform-generated branch prefix - - 'backport/docs/**' - - 'backport/ui/**' - - 'backport/mktg-**' + - 'website/**' env: TEST_RESULTS_DIR: /tmp/test-results