From ee9800200ebff8fb2762f1e1024d63c4fbd5b871 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 28 May 2026 13:01:26 +0200 Subject: [PATCH] fix(update/open_pr): suppress url-reachability lint on extraheader unset `git config --unset-all "http.https://github.com/.extraheader"` is a git config key path, not a fetchable URL, but tests/external/repository/test_urls_reachable.py extracts the URL-like substring and probes it, which returns 404 and fails the suite. Tag the line with `# nocheck: url` so the URL test skips it. Co-Authored-By: Claude Opus 4.7 --- scripts/github/update/open_pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/github/update/open_pr.sh b/scripts/github/update/open_pr.sh index 4d92cfe614..94a44e6613 100755 --- a/scripts/github/update/open_pr.sh +++ b/scripts/github/update/open_pr.sh @@ -79,7 +79,7 @@ if [[ -n "${DUPLICATE_PR}" ]]; then exit 0 fi -git config --local --unset-all "http.https://github.com/.extraheader" 2>/dev/null || true +git config --local --unset-all "http.https://github.com/.extraheader" 2>/dev/null || true # nocheck: url git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${REPO}.git" git push --force origin "${BRANCH}"