Skip to content

Commit

Permalink
Merge pull request #22 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 7f8c788 + 6fac88e commit 358bec3
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 @@ -1967,7 +1967,7 @@ jobs:

update-dockerhub-description:
needs: [build-v1-3-4-jq-sops-ssh-alpine-3-17, build-v1-3-4-jq-libvirt-sops-ssh-alpine-3-17, build-v1-2-0-jq-sops-ssh-alpine-3-16, build-v1-0-11-jq-sops-ssh-alpine-3-15, build-v0-14-9-jq-sops-ssh-alpine-3-14, build-v0-14-4-jq-sops-ssh-alpine-3-13, build-v0-12-25-jq-sops-ssh-alpine-3-12, build-v0-12-17-jq-sops-ssh-alpine-3-11, build-v0-12-6-jq-sops-ssh-alpine-3-10, build-v0-11-8-jq-sops-ssh-alpine-3-9, build-v0-11-7-jq-sops-ssh-alpine-3-8, build-v0-11-0-jq-sops-ssh-alpine-3-7, build-v0-9-5-jq-sops-ssh-alpine-3-6, build-v0-8-1-jq-sops-ssh-alpine-3-5]
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 358bec3

Please sign in to comment.