diff --git a/.github/workflows/.vm.yml b/.github/workflows/.vm.yml index db4fad76d3..97f5ef7b9e 100644 --- a/.github/workflows/.vm.yml +++ b/.github/workflows/.vm.yml @@ -28,6 +28,7 @@ jobs: runs-on: ubuntu-24.04 timeout-minutes: 60 continue-on-error: ${{ github.event_name != 'pull_request' }} + if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci/validate-only') }} strategy: fail-fast: false matrix: @@ -174,7 +175,7 @@ jobs: runs-on: ubuntu-24.04 timeout-minutes: 10 continue-on-error: ${{ github.event_name != 'pull_request' }} - if: always() + if: always() && (github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci/validate-only')) needs: - integration steps: