Skip to content

Commit fff4d1b

Browse files
authored
ci: check dependabot prs originate from repo (#1098)
1 parent fd7b289 commit fff4d1b

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
@@ -91,6 +91,7 @@ jobs:
9191
name: Automatically merge Dependabot pull requests
9292
if: >
9393
github.event_name == 'pull_request' &&
94+
github.event.pull_request.head.repo.full_name == github.repository &&
9495
github.event.pull_request.user.login == 'dependabot[bot]'
9596
needs:
9697
- dependency-review

0 commit comments

Comments
 (0)