Skip to content

Commit 23d465b

Browse files
Burak Bayırkriptoburak
andauthored
ci: bound Context7 refresh transport (#18)
Signed-off-by: kriptoburak <kriptoburak@users.noreply.github.com> Co-authored-by: kriptoburak <kriptoburak@users.noreply.github.com>
1 parent b275564 commit 23d465b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/context7-refresh.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
4545
body_file="$(mktemp)"
4646
trap 'rm -f "$body_file"' EXIT
47-
status="$(curl -sS -o "$body_file" -w "%{http_code}" -X POST "https://context7.com/api/v1/refresh" \
47+
status="$(curl --connect-timeout 10 --max-time 30 --proto '=https' -sS --tlsv1.2 -o "$body_file" -w "%{http_code}" -X POST "https://context7.com/api/v1/refresh" \
4848
-H "Content-Type: application/json" \
4949
-H "Authorization: Bearer ${CONTEXT7_API_KEY}" \
5050
-d '{"libraryName": "/xquik-dev/x-twitter-scraper-java"}')"

0 commit comments

Comments
 (0)