Skip to content

Commit 9d066bd

Browse files
Update gen_md_files.yml
adds only a small improvement that only clones the current branch when running
1 parent ddc93d3 commit 9d066bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/gen_md_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
run: |
4949
git config --global --add safe.directory $GITHUB_WORKSPACE
50-
git clone https://github-actions:$GITHUB_TOKEN@${GITHUB_SERVER_URL##*/}/$GITHUB_REPOSITORY.git $GITHUB_WORKSPACE --branch $GITHUB_REF_NAME
50+
git clone https://github-actions:$GITHUB_TOKEN@${GITHUB_SERVER_URL##*/}/$GITHUB_REPOSITORY.git $GITHUB_WORKSPACE --branch $GITHUB_REF_NAME --single-branch
5151
5252
- name: generate
5353
run: |

0 commit comments

Comments
 (0)