test: unknown developer

This commit is contained in:
Danwebt
2024-06-22 21:02:48 +02:00
committed by GitHub
parent 58bc56d5d4
commit 1cb967a48d

View File

@@ -39,7 +39,7 @@ jobs:
fi
echo "Commits since $LAST_SHA:"
# Accumulate commit logs in a shell variable
COMMIT_LOGS=$(git log $LAST_SHA..HEAD --pretty=format:"[[%h](https://github.com/${{ github.repository }}/commit/%H)] %s ~%an")
COMMIT_LOGS=$(git log $LAST_SHA..HEAD --pretty=format:"[](https://github.com/${{ github.repository }}/commit/%H) %s ~%an")
# Replace commit messages with pull request links
COMMIT_LOGS=$(echo "$COMMIT_LOGS" | sed -E 's/#([0-9]+)/[#\1](https:\/\/github.com\/rebelonion\/Dantotsu\/pull\/\1)/g')
# URL-encode the newline characters for GitHub Actions