Skip to content

Commit a33747a

Browse files
committed
feat: checkout github.head_ref
1 parent 537f736 commit a33747a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/prerelease.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ jobs:
5252
uses: actions/checkout@v3
5353
with:
5454
fetch-depth: 1
55+
ref: ${{ github.head_ref }}
5556
- name: Log checked out commit
5657
if: steps.should_deploy.outputs.should_deploy == 'true'
57-
run: git log -1 --oneline --decorate
58+
run: git log -2
5859
- name: Setup Tools
5960
if: steps.should_deploy.outputs.should_deploy == 'true'
6061
uses: ./.github/actions/setup

0 commit comments

Comments
 (0)