Skip to content

Commit ea14cbf

Browse files
authored
ci: check dependabot prs originate from repo (#409)
1 parent cda3084 commit ea14cbf

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
@@ -56,6 +56,7 @@ jobs:
5656
name: Automerge Dependabot PRs
5757
if: >
5858
github.event_name == 'pull_request' &&
59+
github.event.pull_request.head.repo.full_name == github.repository &&
5960
github.event.pull_request.user.login == 'dependabot[bot]'
6061
needs: test
6162
permissions:

0 commit comments

Comments
 (0)