Skip to content

Commit 6e6c2ee

Browse files
authored
Fix actions/checkout for a fork in pre-commit workflow (#9043)
1 parent d9c29a5 commit 6e6c2ee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
with:
22+
repository: ${{ github.event.pull_request.head.repo.full_name }}
2223
ref: ${{ github.head_ref }}
2324

2425
- uses: actions/setup-python@v5

0 commit comments

Comments
 (0)