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 12, 2023
1 parent 4bcca18 commit e7479aa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integration-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
steps:
- name: Checkout
uses: actions/checkout@v2
if: inputs.checkout-repo
if: inputs.checkout-repo == 'true'
with:
fetch-depth: 0
- name: Build and test
Expand Down
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: Setup tools
Expand Down
2 changes: 1 addition & 1 deletion release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
steps:
- name: Checkout
uses: actions/checkout@v3
if: inputs.checkout-repo
if: inputs.checkout-repo == 'true'
with:
fetch-depth: 0
- name: Authorize
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'
with:
fetch-depth: 0
- name: Setup tools
Expand Down

0 comments on commit e7479aa

Please sign in to comment.