diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 45bfc026..fbf34158 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ on: jobs: release: - if: github.event.pull_request.merged == true + if: ${{github.event_name != 'pull_request' || github.event.pull_request.merged}} runs-on: ubuntu-latest permissions: contents: write