diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1f71a88d..45bfc026d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,9 +19,11 @@ on: # - premajor pull_request: types: [closed] + branches: [main] jobs: release: + if: github.event.pull_request.merged == true runs-on: ubuntu-latest permissions: contents: write