summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2022-03-09 19:55:40 -0500
committerGitHub <noreply@github.com>2022-03-09 19:55:40 -0500
commitf79fbb8b0f68cc7dc900657f1341eaddf74c98dc (patch)
tree778a21c0c6c5cd49665e1739014f0e06687bd293
parent9f2079852b22764d327e7a74f051941865ce5c88 (diff)
Fix pushing of changelog and versioning changes in release process.
WIthout this, we get hit with branch protection rules.
-rwxr-xr-x.github/scripts/prepare-changelog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/scripts/prepare-changelog.sh b/.github/scripts/prepare-changelog.sh
index 4823112bac..a52ad273eb 100755
--- a/.github/scripts/prepare-changelog.sh
+++ b/.github/scripts/prepare-changelog.sh
@@ -48,7 +48,7 @@ commit_changes() {
fi
if [ -n "${GITHUB_ACTIONS}" ]; then
- git push -u origin ${opts} "${branch}"
+ git push ${opts} "https://${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" "${branch}"
else
echo "Not pushing changes as we are not running in GitHub Actions."
echo "Would have pushed ${branch} to origin, with additional options '${opts}'"