[TT-17030] Fix git auth: use x-access-token prefix for GitHub App tokens#115
Conversation
The `insteadOf` pattern without `x-access-token:` prefix fails when `actions/checkout` has set up a credential helper. Adding the prefix and trailing slashes ensures the URL rewrite takes precedence. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
This PR fixes a Git authentication issue in the The fix replaces the bare token and an outdated Files Changed Analysis
The changes are minimal and consistent across both files, targeting only the authentication mechanism. Architecture & Impact Assessment
Scope Discovery & Context Expansion
Metadata
Powered by Visor from Probelabs Last updated: 2026-04-23T09:54:38.998Z | Triggered by: pr_opened | Commit: 3ba477f 💡 TIP: You can chat with Visor using |
✅ Security Check PassedNo security issues found – changes LGTM. ✅ Architecture Check PassedNo architecture issues found – changes LGTM. ✅ Performance Check PassedNo performance issues found – changes LGTM. Powered by Visor from Probelabs Last updated: 2026-04-23T09:54:26.867Z | Triggered by: pr_opened | Commit: 3ba477f 💡 TIP: You can chat with Visor using |
Summary
git config insteadOfpattern ingodoc.ymlandnancy.yamlto usex-access-token:prefix and trailing slashesactions/checkouthas set up a credential helper; thex-access-token:prefix ensures the URL rewrite takes precedencex-oauth-basiccredential pattern innancy.yamlFiles changed
.github/workflows/godoc.yml— 1 replacement.github/workflows/nancy.yaml— 2 replacements (insteadOf + git-credentials)Test plan
godocworkflow runs successfully with private Go module depsnancyworkflow can resolve private Go modules for scanning🤖 Generated with Claude Code