Skip to content

Commit ffd44fe

Browse files
committed
fix: add -w 0 flag to base64 to prevent line wrapping in git auth header
1 parent 6b452ba commit ffd44fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/start-venv.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ jobs:
276276
TARGET_BRANCH: ${{ inputs.templateAndLibsBranch }}
277277
GH_TOKEN: ${{ secrets.GH_REPOSITORY_ADMIN_TOKEN }}
278278
run: |
279-
AUTH="$(printf 'x-access-token:%s' "${GH_TOKEN}" | base64)"
279+
AUTH="$(printf 'x-access-token:%s' "${GH_TOKEN}" | base64 -w 0)"
280280
git config --local http.https://github.com/.extraheader "AUTHORIZATION: basic ${AUTH}"
281281
282282
REFSPEC_MASTER="+refs/heads/master:refs/remotes/origin/master"

0 commit comments

Comments
 (0)