Skip to content

Commit 7169a9c

Browse files
committed
ci: fix Jenkins GitHub API preflight syntax
1 parent f48f1d4 commit 7169a9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Jenkinsfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pipeline {
4848
set -eu
4949
export PATH="$WORKSPACE/.ci-venv/bin:$PATH"
5050
gh api user --jq .login >/dev/null
51-
gh api rate_limit --jq '.resources.core | "GitHub API rate limit: \(.remaining)/\(.limit) remaining"'
51+
gh api rate_limit --jq '"GitHub API rate limit: " + (.resources.core.remaining|tostring) + "/" + (.resources.core.limit|tostring) + " remaining"'
5252
scripts/license-gate.sh --selftest
5353
scripts/license-gate.sh
5454
scripts/audit-license-provenance.py

0 commit comments

Comments
 (0)