Skip to content

Commit 95d9e69

Browse files
authored
ci: check dependabot prs originate from repo (#151)
1 parent e3a4dbf commit 95d9e69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ jobs:
135135
name: Automerge Dependabot PRs
136136
if: >
137137
github.event_name == 'pull_request' &&
138+
github.event.pull_request.head.repo.full_name == github.repository &&
138139
github.event.pull_request.user.login == 'dependabot[bot]'
139140
needs: [browsers, lint, test, typescript]
140141
permissions:

0 commit comments

Comments
 (0)