diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6abbc1f6e..ebaec5652 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,9 +40,8 @@ jobs: publish: name: Publish release needs: [ci] - # run on 1) tags starting with v, 2) manual trigger - # do not run on pull requests - if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch') + # run on 1) tags starting with v, 2) manual trigger, 3) pushes/merges to master + if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: - name: Checkout