From 15570f31296674b4f02ada3afb4679f192c65596 Mon Sep 17 00:00:00 2001 From: Jonny Cyr Date: Wed, 29 Nov 2023 09:42:47 -0500 Subject: [PATCH] SCSZ-1628 Updated base dependabot config for auto merge --- _github/workflows/dependabot-prs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_github/workflows/dependabot-prs.yml b/_github/workflows/dependabot-prs.yml index 5a84f7c..6c62890 100644 --- a/_github/workflows/dependabot-prs.yml +++ b/_github/workflows/dependabot-prs.yml @@ -47,7 +47,7 @@ jobs: # other PRs are merging and causing this to rebase and trigger another # run) and then approves the PR many times, which is confusing and looks # awkward. - if: ${{ github.actor == 'dependabot[bot]' && (!github.event.pull_request.auto_merge && (contains(github.event.pull_request.labels.*.name, 'development-dependencies') || steps.dependabot-metadata.outputs.dependency-type == 'direct:development')) }} + if: ${{ github.actor == 'dependabot[bot]' && (!github.event.pull_request.auto_merge && (contains(github.event.pull_request.labels.*.name, 'development-dependencies') || steps.dependabot-metadata.outputs.dependency-type == 'direct:development' || contains(github.event.pull_request.labels.*.name, 'automerge-dependencies')) }} run: gh pr merge --auto --merge "$PR_URL" && gh pr edit "$PR_URL" --remove-label "Needs QA" && gh pr review --approve "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}}