Skip to content

Commit d906ecd

Browse files
committed
ci: use more reliable head_sha as checkout ref for release
1 parent 8c9cd49 commit d906ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
17-
ref: ${{ github.event.workflow_run.head_branch }}
17+
ref: ${{ github.event.workflow_run.head_sha }}
1818
- uses: actions/setup-node@v6
1919
with:
2020
node-version: 22

0 commit comments

Comments
 (0)