diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 59004314..e2e8419c 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -51,8 +51,8 @@ jobs: github-token: "${{ secrets.PAT_TOKEN }}" - name: Enable auto-merge for Dependabot PRs # if: (steps.dependabot-metadata.outputs.cvss == true && update_types == 'minor' || 'patch') - if: update_types == 'minor' || 'patch' + if: steps.dependabot-metadata.outputs.cvss == true run: gh pr merge --auto --merge "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + GH_TOKEN: ${{secrets.GITHUB_TOKEN}}