Skip to content

Commit 99c60a6

Browse files
authored
Use safer way to determine login for dependabot bot automerge
1 parent d5dad8d commit 99c60a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/dependabot-automerge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permissions:
88
jobs:
99
dependabot:
1010
runs-on: ubuntu-latest
11-
if: github.actor == 'dependabot[bot]' && github.repository == github.event.pull_request.head.repo.full_name
11+
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == github.event.pull_request.head.repo.full_name
1212
steps:
1313
- name: Dependabot metadata
1414
id: metadata

0 commit comments

Comments
 (0)