Skip to content

Commit 7e998c2

Browse files
committed
fix: Correct Dependabot auto-merge condition to use pull request user login instead of actor.
1 parent f76e36c commit 7e998c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dependabot-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
jobs:
1010
auto-merge:
1111
runs-on: ubuntu-latest
12-
if: github.actor == 'dependabot[bot]'
12+
if: github.event.pull_request.user.login == 'dependabot[bot]'
1313
steps:
1414
- name: Approve Dependabot PR
1515
run: gh pr review --approve "$PR_URL"

0 commit comments

Comments
 (0)