Skip to content

Commit

Permalink
fix: conditional checkout command
Browse files Browse the repository at this point in the history
  • Loading branch information
armand-sauzay committed Oct 13, 2023
1 parent b811e0a commit 46d0789
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
steps:
- name: Checkout
uses: actions/checkout@v3
if: inputs.checkout-repo
if: inputs.checkout-repo == 'true'
with:
# Use fetch-depth of zero to obtain all commit history so that semantic versioning can be properly
# performed to arrive at the next version number that is to be released.
Expand Down
2 changes: 1 addition & 1 deletion test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
steps:
- name: Checkout
uses: actions/checkout@v3
if: inputs.checkout-repo
if: inputs.checkout-repo == 'true'
- name: Create credentials file if missing
id: create-credentials-file
uses: open-turo/actions-tf/auth@v3
Expand Down

0 comments on commit 46d0789

Please sign in to comment.