Skip to content

Commit 00b8234

Browse files
authored
Merge pull request #168 from target/safer-bot-check
Check github.repository in actor check for dependabot run
2 parents cbfd0e4 + 2b05d42 commit 00b8234

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]'
11+
if: github.actor == '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)