Skip to content

Commit c2a4e3f

Browse files
committed
fix(git): fix ue submodule update github action
1 parent e28e790 commit c2a4e3f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/UpdateUESubmodule.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@ jobs:
3939
REPO_PATH=${REPO_PATH%.git}
4040
fi
4141
42+
echo "Submodule repository: $REPO_PATH"
43+
4244
# Generate commit list with proper PR links
4345
git log HEAD..main --pretty="tformat:* %s (**%an**) _%h_" | \
44-
sed "s/#\([0-9]\+\)/[#\1](https:\/\/github.com\/${REPO_PATH}\/pull\/\1)/g" > submodule-commits.txt
46+
sed "s|#\([0-9]\+\)|[#\1](https://github.com/${REPO_PATH}/pull/\1)|g" > submodule-commits.txt
4547
4648
# Read the file content and save to environment variable
4749
{

0 commit comments

Comments
 (0)