Skip to content

Commit 11f3bf9

Browse files
fix: skip automatic upgrade tests execution on PRs to main
1 parent 43d2dcc commit 11f3bf9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/reusable-build-test-release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ on:
4848
["ubuntu:14.04", "ubuntu:16.04","ubuntu:18.04","ubuntu:22.04", "ubuntu:24.04", "redhat:8.4", "redhat:8.5", "redhat:8.6", "redhat:8.8"]
4949
upgrade-tests-ta-versions:
5050
required: false
51-
description: "List with TA versions (in 'X.X.X' format) that should be used as starting points for upgrade tests. If not provided,
52-
the latest TA version will be used. Example: ['7.6.0', '7.7.0']"
51+
description: "List with TA versions (in 'X.X.X' format) that should be used as starting points for upgrade tests. Example: ['7.6.0', '7.7.0']"
5352
type: string
5453
default: >-
5554
["latest"]
@@ -2354,7 +2353,7 @@ jobs:
23542353
summary-ucc_modinput*
23552354
23562355
run-upgrade-tests:
2357-
if: ${{ !cancelled() && needs.build.result == 'success' && needs.test-inventory.outputs.upgrade == 'true' }}
2356+
if: ${{ !cancelled() && needs.build.result == 'success' && needs.test-inventory.outputs.upgrade == 'true' && needs.setup-workflow.outputs.execute-upgrade-labeled == 'true' }}
23582357
needs:
23592358
- build
23602359
- test-inventory

0 commit comments

Comments
 (0)