Skip to content

Commit 5d24726

Browse files
authored
Merge pull request #228 from target/safen-automerge
Use safer way to determine login for dependabot bot automerge
2 parents cea3fb6 + 99c60a6 commit 5d24726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.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)