From eb0fb67b33fd6edabf346426b6800150fa9cd738 Mon Sep 17 00:00:00 2001 From: LizenzFass78851 <82592556+LizenzFass78851@users.noreply.github.com> Date: Tue, 15 Oct 2024 19:49:24 +0200 Subject: [PATCH] Update gen_md_files.yml Optimize cloning step of this workflow --- .github/workflows/gen_md_files.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gen_md_files.yml b/.github/workflows/gen_md_files.yml index cf12b69..b6d9a14 100644 --- a/.github/workflows/gen_md_files.yml +++ b/.github/workflows/gen_md_files.yml @@ -47,7 +47,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config --global --add safe.directory $GITHUB_WORKSPACE - git clone https://github-actions:$GITHUB_TOKEN@${GITHUB_SERVER_URL##*/}/$GITHUB_REPOSITORY.git $GITHUB_WORKSPACE --branch $GITHUB_REF_NAME --single-branch + git clone https://github-actions:$GITHUB_TOKEN@${GITHUB_SERVER_URL##*/}/$GITHUB_REPOSITORY.git $GITHUB_WORKSPACE --branch $GITHUB_REF_NAME --depth=1 --single-branch - name: generate run: |