From 60fc74a3055ee22bef125543a23b69ae2e465371 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Thu, 28 Mar 2024 19:45:01 -0400 Subject: [PATCH] ci(automerge): Prevent workflow from running if pre-commit-ci[bot] performs autofix --- .github/workflows/automerge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index bb66056..075fe86 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -8,7 +8,7 @@ permissions: contents: write # to merge the PR jobs: dependabot: - if: ${{ github.actor == 'dependabot[bot]' }} + if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} runs-on: ubuntu-latest steps: - id: dependabot-metadata