authorize API call to list releases, to avoid rate limits
This commit is contained in:
parent
2c3450ca27
commit
789c5efa40
@ -25,7 +25,7 @@ runs:
|
|||||||
go get github.com/google/ko@main
|
go get github.com/google/ko@main
|
||||||
;;
|
;;
|
||||||
latest-release)
|
latest-release)
|
||||||
tag=$(curl -s https://api.github.com/repos/google/ko/releases/latest | jq -r '.tag_name')
|
tag=$(curl -s -u "username:${{ github.token }}" https://api.github.com/repos/google/ko/releases/latest | jq -r '.tag_name')
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
tag="${{ inputs.version }}"
|
tag="${{ inputs.version }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user