From a5adc6218b97bc22837e14d4414ca3912fbbc4b4 Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Tue, 18 Jun 2024 13:12:19 +1000 Subject: [PATCH] test: refix-up needs-testing label logic --- .github/workflows/test-suite.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-suite.yaml b/.github/workflows/test-suite.yaml index 9bca17eb..7b0f9822 100644 --- a/.github/workflows/test-suite.yaml +++ b/.github/workflows/test-suite.yaml @@ -126,8 +126,8 @@ jobs: - name: Helm-install the test fixtures and fill lagoon-test/ci/linter-values.yaml (needs-testing) if: | - (steps.list-changed.outputs.changed == 'true') || - (contains(github.event.pull_request.labels.*.name, 'needs-testing') && !contains(github.event.pull_request.labels.*.name, 'next-release')) + (steps.list-changed.outputs.changed == 'true' && !contains(github.event.pull_request.labels.*.name, 'next-release')) || + (contains(github.event.pull_request.labels.*.name, 'needs-testing')) run: make -j8 -O fill-test-ci-values TESTS=[${{ matrix.test }}] - name: Helm-install the test fixtures and fill lagoon-test/ci/linter-values.yaml (next-release)