diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 19ff6dcc5f..c73861b766 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -18,7 +18,7 @@ jobs: release: name: Publish new release runs-on: macos-12 - if: github.event.pull_request.merged == true # only merged pull requests must trigger this job + if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true }} # only merged pull requests must trigger this job steps: - name: Connect Bot uses: webfactory/ssh-agent@v0.7.0