From 46d0789c7b9c446649c77494ae2f2b70a78ec627 Mon Sep 17 00:00:00 2001 From: Armand Sauzay <35524799+armand-sauzay@users.noreply.github.com> Date: Thu, 12 Oct 2023 00:14:59 +0000 Subject: [PATCH] fix: conditional checkout command --- release/action.yaml | 2 +- test/action.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/release/action.yaml b/release/action.yaml index 68a6849..8a116be 100644 --- a/release/action.yaml +++ b/release/action.yaml @@ -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. diff --git a/test/action.yaml b/test/action.yaml index 7763efc..7268b3c 100644 --- a/test/action.yaml +++ b/test/action.yaml @@ -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