fixed cvss logic for > 0
This commit is contained in:
parent
af3f5ed827
commit
def62c9502
1 changed files with 1 additions and 1 deletions
2
.github/workflows/DependabotAutoMerge.yml
vendored
2
.github/workflows/DependabotAutoMerge.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
alert-lookup: true
|
alert-lookup: true
|
||||||
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' && steps.metadata.outputs.cvss < 1
|
if: steps.metadata.outputs.update-type != 'version-update:semver-major' && steps.metadata.outputs.cvss > 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}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue