Skip to content

Commit dcc9aca

Browse files
authored
ci: check dependabot prs originate from repo (#246)
1 parent 4623912 commit dcc9aca

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
@@ -95,6 +95,7 @@ jobs:
9595
name: Automatically merge Dependabot pull requests
9696
if: >
9797
github.event_name == 'pull_request' &&
98+
github.event.pull_request.head.repo.full_name == github.repository &&
9899
github.event.pull_request.user.login == 'dependabot[bot]'
99100
needs: test
100101
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)