From 3b3166042a5d4084af811d7822433127b4a352c2 Mon Sep 17 00:00:00 2001 From: ibo <41344259+sneazy-ibo@users.noreply.github.com> Date: Fri, 21 Jun 2024 23:40:02 +0200 Subject: [PATCH] fix: remove hyphen and hardcoded repo --- .github/workflows/beta.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 112386b6..00a2b59c 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -38,7 +38,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/rebelonion/Dantotsu/commit/%H)] %s ~%an") + COMMIT_LOGS=$(git log $LAST_SHA..HEAD --pretty=format:"[%h](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