From e7479aab30699a79d89f12a3a23e5ac411b82012 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 --- integration-test/action.yaml | 2 +- lint/action.yaml | 2 +- release/action.yaml | 2 +- test/action.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/integration-test/action.yaml b/integration-test/action.yaml index 5f4ea37..d3f1695 100644 --- a/integration-test/action.yaml +++ b/integration-test/action.yaml @@ -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 diff --git a/lint/action.yaml b/lint/action.yaml index a81733c..2421442 100644 --- a/lint/action.yaml +++ b/lint/action.yaml @@ -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 diff --git a/release/action.yaml b/release/action.yaml index 6887291..ae852de 100644 --- a/release/action.yaml +++ b/release/action.yaml @@ -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 diff --git a/test/action.yaml b/test/action.yaml index dd78589..8a8d91f 100644 --- a/test/action.yaml +++ b/test/action.yaml @@ -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