Skip to content

feat(skills): support private remote git auth#250

Open
dcramer wants to merge 12 commits intomainfrom
feat/private-remote-git-auth-rebased
Open

feat(skills): support private remote git auth#250
dcramer wants to merge 12 commits intomainfrom
feat/private-remote-git-auth-rebased

Conversation

@dcramer
Copy link
Member

@dcramer dcramer commented Mar 16, 2026

Support private remote skill repositories on github.com in hosted runs.

Today remote skills work well for public repositories and for environments that already have SSH configured, but they are awkward in GitHub Actions when the remote skill repository is private. This threads the existing github-token input through remote resolution and uses one-shot git auth env injection for github.com fetches so the action can read private remote skills without embedding credentials in URLs or cache state.

The implementation keeps the current behavior for public remotes and for non-GitHub remotes. Follow-up fixes from the earlier review also narrow GitHub-specific auth error rewriting to the actual GitHub-auth path and remove stale WARDEN_GITHUB_TOKEN guidance from user-facing errors.

I considered leaving the SSH-only behavior in place for hosted runs, but that would keep private remotes dependent on out-of-band SSH setup and make the existing GitHub token effectively unusable for this path. This approach stays close to the current fetch model and limits the new auth behavior to github.com.

Additional context:

  • includes regression coverage for token threading, auth env isolation, and failure-mode handling
  • updates the config docs for github-token and private remotes
  • replaces the rollout note with a real spec in specs/private-remote-git-auth.md
  • supersedes feat: private remote git auth #232

@dcramer dcramer changed the title feat: private remote git auth feat(skills): support private remote git auth Mar 16, 2026
Co-Authored-By: GPT-5 Codex <noreply@anthropic.com>
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Co-Authored-By: GPT-5 Codex <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants