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 ccaeb90 commit 095fa06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
steps:
- name: Checkout
uses: actions/checkout@v3
if: inputs.checkout-repo
if: inputs.checkout-repo == 'true'
with:
fetch-depth: 0
- name: Run npm ci if needed
Expand Down
2 changes: 1 addition & 1 deletion release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
steps:
- name: Checkout
uses: actions/checkout@v3
if: inputs.checkout-repo
if: inputs.checkout-repo == 'true'
with:
fetch-depth: 0
- name: Semantic release
Expand Down
2 changes: 1 addition & 1 deletion test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
steps:
- name: Checkout
uses: actions/checkout@v3
if: inputs.checkout-repo
if: inputs.checkout-repo == 'true'
- name: Test node
if: hashFiles('package-lock.json') != ''
shell: bash
Expand Down

0 comments on commit 095fa06

Please sign in to comment.