changed logic in if statement for !=

This commit is contained in:
skye rogers 2025-03-26 13:46:48 -07:00
parent ce9688f5bd
commit 38769e8a00

View file

@ -24,7 +24,7 @@ jobs:
with: with:
github-token: "${{ secrets.GITHUB_TOKEN }}" github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs - name: Enable auto-merge for Dependabot PRs
if: steps.metadata.outputs.update-type != 'version-update:semver-major' if: steps.metadata.outputs.update-type != 'version-update:semver-major' # && cvss level > 0
run: gh pr merge --auto --merge "$PR_URL" run: gh pr merge --auto --merge "$PR_URL"
env: env:
PR_URL: ${{github.event.pull_request.html_url}} PR_URL: ${{github.event.pull_request.html_url}}