Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Commit c33b5eb

Browse files
committed
CI: add authorization for curl
1 parent ff52d25 commit c33b5eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
- name: Download Core Lightning ${{ inputs.cln-version }} & install binaries
100100
if: ${{ contains(matrix.os, 'ubuntu') && steps.cache-cln.outputs.cache-hit != 'true' }}
101101
run: |
102-
url=$(curl --retry 3 --retry-delay 3 https://api.github.com/repos/ElementsProject/lightning/releases/tags/${{ inputs.cln-version }} \
102+
url=$(curl -f --retry 3 --retry-delay 3 -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/ElementsProject/lightning/releases/tags/${{ inputs.cln-version }} \
103103
| jq '.assets[] | select(.name | contains("24.04")) | .browser_download_url' \
104104
| tr -d '\"')
105105
wget $url

0 commit comments

Comments
 (0)