From 12e93857487868e3f4d39109091048f90510abb7 Mon Sep 17 00:00:00 2001 From: Thanatos Date: Tue, 7 Nov 2023 16:20:21 +0100 Subject: [PATCH] Change auto merge from commit author to pull request author --- .github/workflows/dependency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependency.yml b/.github/workflows/dependency.yml index f6e18912..233b1912 100644 --- a/.github/workflows/dependency.yml +++ b/.github/workflows/dependency.yml @@ -8,7 +8,7 @@ permissions: jobs: dependency: runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]' }} + if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]' }} steps: - name: Enable auto-merge for Dependency PRs run: gh pr merge --auto --merge "$PR_URL"