diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f7de364..aa18c1f6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,9 +36,7 @@ jobs: with: github-token: '${{ secrets.GITHUB_TOKEN }}' - name: Auto-merge - if: > - ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' && - steps.metadata.outputs.update-type == 'version-update:semver-patch' }} + if: steps.metadata.outputs.update-type != 'version-update:semver-major' run: gh pr merge --auto --squash "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}}