diff --git a/.github/workflows/functional-test-cloud.yaml b/.github/workflows/functional-test-cloud.yaml index e16ec88d02..afe1af0490 100644 --- a/.github/workflows/functional-test-cloud.yaml +++ b/.github/workflows/functional-test-cloud.yaml @@ -219,6 +219,7 @@ jobs: changes: name: Changes needs: setup + if: always() && needs.setup.result == 'success' uses: ./.github/workflows/__changes.yml with: ref: ${{ needs.setup.outputs.CHECKOUT_REF }} @@ -232,7 +233,7 @@ jobs: name: Build Radius for test needs: [setup, changes] # Skip if only docs/markdown changed - if: needs.changes.outputs.only_changed != 'true' + if: always() && needs.changes.outputs.only_changed != 'true' runs-on: ubuntu-24.04 timeout-minutes: 15 permissions: @@ -479,7 +480,7 @@ jobs: skip-tests: name: Skip Functional Tests needs: [setup, changes] - if: needs.changes.outputs.only_changed == 'true' + if: always() && needs.changes.outputs.only_changed == 'true' runs-on: ubuntu-24.04 timeout-minutes: 5 permissions: @@ -508,6 +509,7 @@ jobs: tests: name: Run ${{ matrix.name }} functional tests needs: [setup, build] + if: always() && needs.setup.result == 'success' && needs.build.result == 'success' # Approval gate (via environment protection) ensures external contributors are approved before reaching here strategy: fail-fast: true