diff --git a/.github/workflows/ci-master-pr.yml b/.github/workflows/ci-master-pr.yml index 18458bc..174fc05 100644 --- a/.github/workflows/ci-master-pr.yml +++ b/.github/workflows/ci-master-pr.yml @@ -199,7 +199,7 @@ jobs: update-dockerhub-description: needs: [build-4-1-4-ubuntu-16-04] - 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 diff --git a/generate/templates/.github/workflows/ci-master-pr.yml.ps1 b/generate/templates/.github/workflows/ci-master-pr.yml.ps1 index 36ab7f1..320a821 100644 --- a/generate/templates/.github/workflows/ci-master-pr.yml.ps1 +++ b/generate/templates/.github/workflows/ci-master-pr.yml.ps1 @@ -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