[ci] pass gh token to archive job

This commit is contained in:
Chris
2025-05-06 16:41:56 -06:00
parent 6b3eb369b6
commit e0e53beeba
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
set -ex
set -e
function log() {
echo "$1" >&2
@ -12,7 +12,7 @@ log "$api_url"
raw_log_url=$(curl -Ls --fail --show-error -o /dev/null \
-w %{url_effective} \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "Authorization: Bearer $GH_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"$api_url"
)