diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4e3006b6..bb7a24f4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -170,7 +170,8 @@ jobs: echo "$(PWD)" BRANCH_NAME="jrnl-${JRNL_VERSION}--${RANDOM}" git remote rename origin upstream - git remote add origin "https://github.com/${BOT_REPO}.git" + git remote add origin "https://${{ secrets.JRNL_BOT_NAME }}:${{ secrets.JRNL_BOT_TOKEN }}@github.com/${BOT_REPO}.git" + git fetch upstream git fetch origin git checkout -b $BRANCH_NAME