Skip to content

Commit 0e7d1e5

Browse files
authored
fix project name with hyperlink
1 parent 38becf9 commit 0e7d1e5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/generate-project-list.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
4242
for project in "${projects[@]}"; do
4343
project_name=${project%/}
44-
echo "* [$project_name](./$project_name)" >> PROJECTS.md
44+
safe_project_name=${project_name// /-}
45+
echo "* [$project_name](./$safe_project_name)" >> PROJECTS.md
4546
done
4647
4748
for file in "${exclude_files[@]}"; do
@@ -50,7 +51,7 @@ jobs:
5051
5152
# Debug output to check the content of PROJECTS.md
5253
cat PROJECTS.md
53-
54+
5455
- name: Commit project list
5556
run: |
5657
git config --global user.email "github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)