Skip to content

Commit edf4f74

Browse files
committed
chore: Stop using query param for auth
1 parent c709230 commit edf4f74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/download-relay.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ target=relay
1212

1313
output="$(
1414
curl -s \
15-
https://api.github.com/repos/getsentry/relay/releases/latest?access_token=$GITHUB_API_TOKEN
15+
-H "Authorization: token $GITHUB_API_TOKEN" \
16+
https://api.github.com/repos/getsentry/relay/releases/latest
1617
)"
1718

1819
echo "$output"

0 commit comments

Comments
 (0)