Skip to content

Commit 4eec0ee

Browse files
🦩 Update: Flamingo Code Documentation (#3281)
Co-authored-by: flamingo[bot] <277372822+flamingo[bot]@users.noreply.github.com>
1 parent 3625f30 commit 4eec0ee

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/code-documentation.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ jobs:
298298
CURL_CFG=$(mktemp) && chmod 600 "$CURL_CFG"
299299
trap 'rm -f "$CURL_CFG"' EXIT
300300
printf 'header = "Authorization: Bearer %s"\n' "$WEBHOOK_SECRET" > "$CURL_CFG"
301+
# Every hub request below reads its retries from the same config file (CURL_RETRY_CONFIG).
302+
printf '%s\n' 'retry = 3' 'retry-delay = 2' 'retry-all-errors' >> "$CURL_CFG"
301303
# The scripts surface. load_script_manifest pins SCRIPTS_BASE_URL to it.
302304
CI_SCRIPTS_URL="${HUB_BASE_URL%/}/api/ci/scripts"
303305
@@ -532,6 +534,8 @@ jobs:
532534
CURL_CFG=$(mktemp) && chmod 600 "$CURL_CFG"
533535
trap 'rm -f "$CURL_CFG"' EXIT
534536
printf 'header = "Authorization: Bearer %s"\n' "$WEBHOOK_SECRET" > "$CURL_CFG"
537+
# Every hub request below reads its retries from the same config file (CURL_RETRY_CONFIG).
538+
printf '%s\n' 'retry = 3' 'retry-delay = 2' 'retry-all-errors' >> "$CURL_CFG"
535539
# The scripts surface. load_script_manifest pins SCRIPTS_BASE_URL to it.
536540
CI_SCRIPTS_URL="${HUB_BASE_URL%/}/api/ci/scripts"
537541
@@ -696,6 +700,8 @@ jobs:
696700
CURL_CFG=$(mktemp) && chmod 600 "$CURL_CFG"
697701
trap 'rm -f "$CURL_CFG"' EXIT
698702
printf 'header = "Authorization: Bearer %s"\n' "$WEBHOOK_SECRET" > "$CURL_CFG"
703+
# Every hub request below reads its retries from the same config file (CURL_RETRY_CONFIG).
704+
printf '%s\n' 'retry = 3' 'retry-delay = 2' 'retry-all-errors' >> "$CURL_CFG"
699705
# The scripts surface. load_script_manifest pins SCRIPTS_BASE_URL to it.
700706
CI_SCRIPTS_URL="${HUB_BASE_URL%/}/api/ci/scripts"
701707

0 commit comments

Comments
 (0)