Skip to content

Commit 0d56f65

Browse files
dougaitkenclaude
andauthored
fix(ci): allow fork checkout in company validation workflow (#2239)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent bd3fc62 commit 0d56f65

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/validate-companies.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
sparse-checkout: |
3434
src/companies
3535
company-profiles
36+
# Safe here: sparse-checkout limits this to data files (company
37+
# profiles) only, never .github/ workflows or scripts, and nothing
38+
# from the fork is executed. See https://gh.io/securely-using-pull_request_target
39+
allow-unsafe-pr-checkout: true
3640

3741
- name: Get changed files
3842
id: changed

0 commit comments

Comments
 (0)