Skip to content

Commit c77b66b

Browse files
committed
Fix PIE installation to use commit SHA instead of branch name
- Use ${{ github.sha }} instead of branch reference - Prevents git checkout failures when branch history is rewritten - Ensures PIE can reliably checkout the specific commit Signed-off-by: James Duong <[email protected]>
1 parent 451e8cd commit c77b66b

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
@@ -86,7 +86,7 @@ jobs:
8686
"source": {
8787
"type": "git",
8888
"url": "https://github.com/jduo/valkey-glide-php.git",
89-
"reference": "${{ github.head_ref || github.ref_name }}"
89+
"reference": "${{ github.sha }}"
9090
},
9191
"type": "php-ext",
9292
"php-ext": {

0 commit comments

Comments
 (0)