Skip to content

Commit

Permalink
Merge pull request #17 from theohbrothers/fix/ci-run-update-dockerhub…
Browse files Browse the repository at this point in the history
…-description-job-only-on-master

Fix (ci): Run `update-dockerhub-description` job only on `master`
  • Loading branch information
leojonathanoh authored Feb 7, 2023
2 parents 634b7a8 + bb8bce7 commit d301a54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ jobs:

update-dockerhub-description:
needs: [build-v3-0-8-alpine-3-13, build-v3-0-7-alpine-3-12, build-v3-0-6-alpine-3-11, build-v3-0-6-alpine-3-10, build-v3-0-5-alpine-3-9, build-v3-0-4-alpine-3-8, build-v3-0-3-alpine-3-7, build-v3-0-1-alpine-3-6, build-v3-0-1-alpine-3-5, build-v3-0-1-alpine-3-4, build-v3-0-1-alpine-3-3]
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion generate/templates/.github/workflows/ci-master-pr.yml.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ if ( $_['tag_as_latest'] ) {
update-dockerhub-description:
needs: [$( $local:WORKFLOW_JOB_NAMES -join ', ' )]
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit d301a54

Please sign in to comment.