From 3806564eb109a4ab5cbbabf0aebef5a85444dc40 Mon Sep 17 00:00:00 2001 From: Tawanda Kembo Date: Sat, 27 Jul 2024 17:11:53 +0200 Subject: [PATCH] chore: fix PAT_TOKEN usage in GitHub Actions workflow --- bump_version.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bump_version.sh b/bump_version.sh index 09a5b84..e954309 100755 --- a/bump_version.sh +++ b/bump_version.sh @@ -1,6 +1,11 @@ #!/bin/bash set -e +echo "Token length: ${#PAT_TOKEN}" +echo "Remote URL before: $(git remote get-url origin)" +git remote set-url origin "https://${PAT_TOKEN}@github.com/tawanda-kembo/code-collator.git" +echo "Remote URL after: $(git remote get-url origin)" + # Default bump type DEFAULT_BUMP=${DEFAULT_BUMP:-minor}