Skip to content

Commit 8534701

Browse files
committed
checkout
1 parent 35149cd commit 8534701

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
steps:
4040
- uses: actions/checkout@v4
4141
with:
42-
ref: ${{ inputs.sha }}
42+
ref: ${{ inputs.sha || github.event.pull_request.head.sha || github.sha }}
4343

4444
# Avoid potential out-of-memory errors
4545
- name: Set swap space for Linux

0 commit comments

Comments
 (0)