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 <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Opus 4.7 committed 2026-05-28 13:01:36 +02:00
1 parent ce30948ed4
commit ee9800200e
1 file changed
+1 -1
+1 -1
View File
@@ -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}"