From 2dea03dbc326b13f5c8410fabe4fd96e012f6679 Mon Sep 17 00:00:00 2001 From: Pil0tXia Date: Mon, 27 May 2024 12:52:02 +0800 Subject: [PATCH] approve if the PR author is dependabot --- .github/workflows/auto-dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-dependabot.yml b/.github/workflows/auto-dependabot.yml index 0d43a058..512a43f6 100644 --- a/.github/workflows/auto-dependabot.yml +++ b/.github/workflows/auto-dependabot.yml @@ -27,7 +27,7 @@ jobs: # Pull request Auto merge is not enabled for this repository dependabot: runs-on: ubuntu-latest - if: github.actor == 'dependabot[bot]' + if: github.event.pull_request.user.login == 'dependabot[bot]' steps: - name: Dependabot metadata id: metadata