ci: prevent running tests on release PR

This commit is contained in:
Damien Retzinger
2026-04-28 09:45:19 -04:00
parent 1f4db0036c
commit ef5e69859c
8 changed files with 9 additions and 0 deletions
@@ -32,6 +32,7 @@ on:
jobs:
compute_matrix:
if: "!startsWith(github.head_ref, 'release-please')"
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.supported-version.outputs.matrix }}
@@ -19,6 +19,7 @@ on:
jobs:
get-composer-version:
if: "!startsWith(github.head_ref, 'release-please')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
@@ -18,6 +18,7 @@ on:
jobs:
get-magento-version:
if: "!startsWith(github.head_ref, 'release-please')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
@@ -23,6 +23,7 @@ on:
jobs:
compute_matrix:
if: "!startsWith(github.head_ref, 'release-please')"
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.supported-version.outputs.matrix }}
@@ -18,6 +18,7 @@ on:
jobs:
semver-compare:
if: "!startsWith(github.head_ref, 'release-please')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
@@ -26,6 +26,7 @@ env:
jobs:
compute_matrix:
if: "!startsWith(github.head_ref, 'release-please')"
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.supported-version.outputs.matrix }}
@@ -113,6 +114,7 @@ jobs:
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
setup-magento-extension:
if: "!startsWith(github.head_ref, 'release-please')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
@@ -22,6 +22,7 @@ on:
- "!(**/*.md)"
jobs:
compute_matrix:
if: "!startsWith(github.head_ref, 'release-please')"
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.supported-version.outputs.matrix }}
@@ -20,6 +20,7 @@ on:
jobs:
unit-test:
if: "!startsWith(github.head_ref, 'release-please')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6