From 9b55079ef7a46d28b045fc160fa2b80ab57678f7 Mon Sep 17 00:00:00 2001 From: Shane Utt Date: Tue, 23 Mar 2021 13:01:35 -0400 Subject: [PATCH] fix: finely target wf runs for integration test actions We were running redundant test runs on every PR, so this change provides more targeting configuration which will reduce the excess. --- .github/workflows/integration_test.yaml | 12 +++++++++++- .github/workflows/integration_test_legacy.yaml | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration_test.yaml b/.github/workflows/integration_test.yaml index d2824ed1ae..5ec844b79b 100644 --- a/.github/workflows/integration_test.yaml +++ b/.github/workflows/integration_test.yaml @@ -1,6 +1,16 @@ name: Integration Tests -on: [push, pull_request] +on: + pull_request: + branches: + - 'main' + - 'next' + push: + branches: + - 'main' + - 'next' + tags: + - 'v*.*.*' jobs: test: diff --git a/.github/workflows/integration_test_legacy.yaml b/.github/workflows/integration_test_legacy.yaml index 2d163ed1c5..e387db6135 100644 --- a/.github/workflows/integration_test_legacy.yaml +++ b/.github/workflows/integration_test_legacy.yaml @@ -1,6 +1,16 @@ name: Integration Tests (Legacy) -on: [push, pull_request] +on: + pull_request: + branches: + - 'main' + - 'next' + push: + branches: + - 'main' + - 'next' + tags: + - 'v*.*.*' jobs: test: