Skip to content

Commit 7b6608f

Browse files
Merge pull request #8 from theohbrothers/fix/ci-run-update-dockerhub-description-job-only-on-master
Fix (ci): Run `update-dockerhub-description` job only on `master`
2 parents 69e23aa + e76f99f commit 7b6608f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci-master-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2787,7 +2787,7 @@ jobs:
27872787

27882788
update-dockerhub-description:
27892789
needs: [build-3-12, build-3-12-mysqlclient, build-3-12-openssl, build-3-12-mysqlclient-openssl, build-3-11, build-3-11-mysqlclient, build-3-11-openssl, build-3-11-mysqlclient-openssl, build-3-10, build-3-10-mysqlclient, build-3-10-openssl, build-3-10-mysqlclient-openssl, build-3-9, build-3-9-mysqlclient, build-3-9-openssl, build-3-9-mysqlclient-openssl, build-3-8, build-3-8-mysqlclient, build-3-8-openssl, build-3-8-mysqlclient-openssl]
2790-
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
2790+
if: github.ref == 'refs/heads/master'
27912791
runs-on: ubuntu-latest
27922792
steps:
27932793
- uses: actions/checkout@v3

generate/templates/.github/workflows/ci-master-pr.yml.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ if ( $_['tag_as_latest'] ) {
226226
227227
update-dockerhub-description:
228228
needs: [$( $local:WORKFLOW_JOB_NAMES -join ', ' )]
229-
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
229+
if: github.ref == 'refs/heads/master'
230230
runs-on: ubuntu-latest
231231
steps:
232232
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)