From 6f599f5096a62ba595a145e05879f84eb8f49f37 Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Thu, 19 Sep 2024 14:38:48 -0700 Subject: [PATCH] (TEST) Add the ability to run continuous-only tests with a tag This will be controlled by the tag #test-continuous, on it's own line PiperOrigin-RevId: 676568065 --- .github/workflows/test_runner.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_runner.yml b/.github/workflows/test_runner.yml index 64bad17990a54..15b24072709f5 100644 --- a/.github/workflows/test_runner.yml +++ b/.github/workflows/test_runner.yml @@ -105,7 +105,7 @@ jobs: - name: Set Test Type Variables id: set-test-type-vars run: | - if [ "${{ github.event_name }}" == 'pull_request' ] || [ "${{ github.event_name }}" == 'pull_request_target' ]; then + if ([ "${{ github.event_name }}" == 'pull_request' ] || [ "${{ github.event_name }}" == 'pull_request_target' ]) && ${{ !contains(toJson(github.event.pull_request.body), '\r\n#test-continuous') }}; then echo "continuous-run=" >> "$GITHUB_OUTPUT" echo "continuous-prefix=[SKIPPED] (Continuous)" >> "$GITHUB_OUTPUT" else