Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines +497 to +498

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Honor the latest-Splunk override on release branches

When a caller sets wfe-run-on-splunk-latest: "true" to keep WFE tests on latest Splunk, a PR with github.base_ref matching release/* or an enabled push to release/* now enters these new clauses and unconditionally resets wfe_run_on_splunk_latest to false. That makes release runs always use the full supported matrix despite the workflow input's documented force/override semantics, so backport or emergency release workflows cannot opt into the smaller matrix.

Useful? React with 👍 / 👎.

wfe_run_on_splunk_latest="false"
else
wfe_run_on_splunk_latest="true"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading