diff --git a/.github/workflows/reusable-build-test-release.yml b/.github/workflows/reusable-build-test-release.yml index 0007702a..5182fc0f 100644 --- a/.github/workflows/reusable-build-test-release.yml +++ b/.github/workflows/reusable-build-test-release.yml @@ -493,7 +493,9 @@ jobs: else if [[ "${{ github.base_ref }}" == "main" || "${{ github.ref_name }}" == "main" ]] || \ - [[ "${{ github.ref_name }}" == "develop" && "${{ github.event_name }}" == "push" ]]; then + [[ "${{ github.ref_name }}" == "develop" && "${{ github.event_name }}" == "push" ]] || \ + [[ "${{ startsWith(github.base_ref, 'release/') }}" == "true" ]] || \ + [[ "${{ startsWith(github.ref_name, 'release/') }}" == "true" && "${{ github.event_name }}" == "push" && "${{ inputs.execute-tests-on-push-to-release }}" == "true" ]]; then wfe_run_on_splunk_latest="false" else wfe_run_on_splunk_latest="true" diff --git a/README.md b/README.md index cd909206..584df972 100644 --- a/README.md +++ b/README.md @@ -310,7 +310,7 @@ gitGraph - Determines which Splunk and SC4S versions to run tests with. - Outputs matrices for supported and latest Splunk versions, SC4S versions, and vendor matrices for modinput/UI tests. -- On schedule events, always uses latest Splunk only. On PRs to `main` or push to `main`/`develop`, uses the full supported matrix (unless overridden by `wfe-run-on-splunk-latest` input). +- On schedule events, always uses latest Splunk only. On PRs to `main` or `release/*`, or push to `main`/`develop`/`release/*` (the latter only when `execute-tests-on-push-to-release` is `true`), uses the full supported matrix (unless overridden by `wfe-run-on-splunk-latest` input). ## [Job] fossa-scan