Skip to content

Commit 7019d0d

Browse files
committed
ci: invert conditional
1 parent 8c6a62f commit 7019d0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/create-tag.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
- name: Checkout to the input commit
2727
run: |
2828
if [[ -z "${{ inputs.commit }}" ]]; then
29-
COMMIT="${{ inputs.commit }}"
30-
else
3129
COMMIT=$(git rev-parse ${{ github.sha }}^@ | grep -Fvx ${{ github.event.pull_request.head.sha }})
30+
else
31+
COMMIT="${{ inputs.commit }}"
3232
fi
3333
git checkout $COMMIT
3434

0 commit comments

Comments
 (0)