Skip to content

Commit

Permalink
Update gen_md_files.yml
Browse files Browse the repository at this point in the history
Optimize cloning step of this workflow
  • Loading branch information
LizenzFass78851 authored Oct 15, 2024
1 parent 14a6c79 commit 224263d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gen_md_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 224263d

Please sign in to comment.