mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
Merge pull request #10729 from hashicorp/dnephin/fix-docs-cherrypick
ci: query for max number of possible labels
This commit is contained in:
commit
b2480d229f
@ -22,7 +22,7 @@ function get_latest_backport_label {
|
|||||||
local ret
|
local ret
|
||||||
local latest_backport_label
|
local latest_backport_label
|
||||||
|
|
||||||
resp=$(curl -f -s -H "Authorization: token ${GITHUB_TOKEN}" "https://api.github.com/repos/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/labels")
|
resp=$(curl -f -s -H "Authorization: token ${GITHUB_TOKEN}" "https://api.github.com/repos/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/labels?per_page=100")
|
||||||
ret="$?"
|
ret="$?"
|
||||||
if [[ "$ret" -ne 0 ]]; then
|
if [[ "$ret" -ne 0 ]]; then
|
||||||
status "The GitHub API returned $ret which means it was probably rate limited."
|
status "The GitHub API returned $ret which means it was probably rate limited."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user