From 98902aafa5044cce159dff8735793ed88bfd13b8 Mon Sep 17 00:00:00 2001 From: Daniel Pepper Date: Sun, 7 Apr 2024 15:55:57 -0700 Subject: [PATCH] . --- .github/workflows/dependabot.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 0858700..088552d 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -4,7 +4,7 @@ on: pull_request jobs: dependabot: runs-on: ubuntu-latest - if: github.event.pull_request.user.login == 'dependabot[bot]' + if: startsWith(github.event.pull_request.user.login, 'dependabot') env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} steps: @@ -16,7 +16,6 @@ jobs: id: metadata uses: dependabot/fetch-metadata@v2 - name: Approve PR - if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' run: | if [ "$(gh pr status --json reviewDecision -q .currentBranch.reviewDecision)" != "APPROVED" ]; then gh pr review --approve