From e0c0efe68242b16533da0726d67a845c6988e07d Mon Sep 17 00:00:00 2001 From: John Murret Date: Fri, 21 Jul 2023 16:10:45 -0600 Subject: [PATCH] NET-4996 - filter go-tests and test-integration workflows from running on docs only and ui only changes --- .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 60e7d10d261c..4d51c119169c 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 6c96b5da1d2c..80c9dc8cf7da 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