diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ada4b288c..d94c9b606 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,10 @@ on: jobs: build: name: Build + # Skip on release PRs: a version-bump PR only touches version files, so the + # Test suite adds nothing. The job reports "skipped" (= passing for the + # required check). Lint/Typecheck/Verify Executable still run normally. + if: ${{ !startsWith(github.head_ref, 'release/') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 @@ -36,6 +40,7 @@ jobs: test: name: Test ${{ matrix.package }} needs: [build] + if: ${{ !startsWith(github.head_ref, 'release/') }} strategy: matrix: os: [ubuntu-latest] @@ -138,6 +143,7 @@ jobs: regression: name: Regression needs: [build] + if: ${{ !startsWith(github.head_ref, 'release/') }} runs-on: ubuntu-latest timeout-minutes: 15 steps: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 94e057d6a..23ea30596 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -7,6 +7,9 @@ on: jobs: build: name: Build + # Skip on release PRs (version-only bump); reports "skipped" = passing for + # the required check. See test.yml for rationale. + if: ${{ !startsWith(github.head_ref, 'release/') }} runs-on: windows-latest steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 @@ -36,6 +39,7 @@ jobs: test: name: Test ${{ matrix.package }} needs: [build] + if: ${{ !startsWith(github.head_ref, 'release/') }} strategy: fail-fast: false matrix: diff --git a/VALIDATE.md b/VALIDATE.md new file mode 100644 index 000000000..c1b0730e0 --- /dev/null +++ b/VALIDATE.md @@ -0,0 +1 @@ +x \ No newline at end of file