Fix CI git authorization

This commit is contained in:
Reinier van der Leer
2023-06-04 02:01:35 +02:00
parent ce44012866
commit 4c11b21dff

View File

@@ -146,7 +146,7 @@ jobs:
run: |
config_key="http.${{ github.server_url }}/.extraheader"
git config "$config_key" \
"Authorization: Basic x-access-token:${{ secrets.PAT_REVIEW }}"
"Authorization: Basic $(echo -n "x-access-token:${{ secrets.PAT_REVIEW }}" | base64 -w0)"
echo "config_key=$config_key" >> $GITHUB_OUTPUT