mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-28 13:57:43 +00:00
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:
1 parent
ce30948ed4
commit
ee9800200e
1 file changed
+1
-1
@@ -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}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user