From ee9cb2555d60547697a544ea6301b63b48541adf Mon Sep 17 00:00:00 2001 From: ludeeus Date: Wed, 28 Aug 2024 19:33:46 +0000 Subject: [PATCH] use checkout action --- .github/workflows/checks.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index df19fca..75ff51d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -83,10 +83,15 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4.1.7 + with: + sparse-checkout: | + scripts - - name: Clone new addition - run: | - git clone --depth 1 "https://github.com/${{needs.preflight.outputs.repository}}" /tmp/repositories/addition + - name: Check new addition + uses: actions/checkout@v4.1.7 + with: + repository: ${{needs.preflight.outputs.repository}} + path: /tmp/repositories/addition - name: Run hassfest run: |