Skip to content

Commit

Permalink
ci: invert conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdrz committed Dec 9, 2024
1 parent 8c6a62f commit 7019d0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
- name: Checkout to the input commit
run: |
if [[ -z "${{ inputs.commit }}" ]]; then
COMMIT="${{ inputs.commit }}"
else
COMMIT=$(git rev-parse ${{ github.sha }}^@ | grep -Fvx ${{ github.event.pull_request.head.sha }})
else
COMMIT="${{ inputs.commit }}"
fi
git checkout $COMMIT
Expand Down

0 comments on commit 7019d0d

Please sign in to comment.