Skip to content

Commit d146c59

Browse files
committed
Fix repository URL to handle PR context correctly in release-0.9
- Use github.event.pull_request.head.repo.clone_url for PRs - Falls back to current repository for non-PR contexts - Ensures PIE can checkout from the correct fork repository Signed-off-by: James Duong <[email protected]>
1 parent 1efbc0c commit d146c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-pie.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
"version_normalized": "1.0.0.0",
8686
"source": {
8787
"type": "git",
88-
"url": "${{ github.server_url }}/${{ github.repository }}",
88+
"url": "${{ github.event.pull_request.head.repo.clone_url || format('{0}/{1}', github.server_url, github.repository) }}",
8989
"reference": "${{ github.head_ref || github.ref_name }}"
9090
},
9191
"type": "php-ext",

0 commit comments

Comments
 (0)