Skip to content

Commit 4047cb7

Browse files
authored
fix(ci): ensure release jobs run, even with no changes (#7548)
1 parent 8f0504f commit 4047cb7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/check-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
checks:
3232
runs-on: ubuntu-24.04
3333
needs: changes
34-
if: ${{ needs.changes.outputs.non-docs == 'true' }}
34+
if: ${{ needs.changes.outputs.non-docs == 'true' || startsWith(github.ref, 'refs/heads/release/v') }}
3535
steps:
3636
- name: Free Disk Space
3737
uses: endersonmenezes/free-disk-space@v2

.github/workflows/publish-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
3131
publish:
3232
needs: changes
33-
if: ${{ needs.changes.outputs.non-docs == 'true' }}
33+
if: ${{ needs.changes.outputs.non-docs == 'true' || startsWith(github.ref, 'refs/heads/release/v') }}
3434
runs-on: ubuntu-24.04
3535
permissions:
3636
id-token: write

.github/workflows/quick-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
quick:
3232
runs-on: ubuntu-24.04
3333
needs: changes
34-
if: ${{ needs.changes.outputs.non-docs == 'true' }}
34+
if: ${{ needs.changes.outputs.non-docs == 'true' || startsWith(github.ref, 'refs/heads/release/v') }}
3535
steps:
3636
- name: Checkout
3737
uses: actions/checkout@v5
@@ -69,7 +69,7 @@ jobs:
6969
verify-python-min-version:
7070
runs-on: ubuntu-24.04
7171
needs: changes
72-
if: ${{ needs.changes.outputs.non-docs == 'true' }}
72+
if: ${{ needs.changes.outputs.non-docs == 'true' || startsWith(github.ref, 'refs/heads/release/v') }}
7373
steps:
7474
- uses: actions/checkout@v5
7575
- uses: actions/setup-python@v5

0 commit comments

Comments
 (0)