altered if statement checker for auto-merge in actions.yml
This commit is contained in:
parent
7e721b5822
commit
4044cb3801
1 changed files with 2 additions and 2 deletions
4
.github/workflows/actions.yml
vendored
4
.github/workflows/actions.yml
vendored
|
|
@ -17,10 +17,10 @@ jobs:
|
|||
uses: dependabot/fetch-metadata@v2
|
||||
with:
|
||||
alert-lookup: true
|
||||
compat-lookup: true
|
||||
github-token: "${{ secrets.PAT_TOKEN }}"
|
||||
- name: Enable auto-merge for Dependabot PRs
|
||||
if: (steps.dependabot-metadata.outputs.cvss == true && update_types == 'minor' || 'patch')
|
||||
# if: (steps.dependabot-metadata.outputs.cvss == true && update_types == 'minor' || 'patch')
|
||||
if: update_types == 'minor' || 'patch'
|
||||
run: gh pr merge --auto --merge "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{github.event.pull_request.html_url}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue