Skip to content

feat(auth): add token-free git credential helper option - #1829

Open
00200200 wants to merge 1 commit into
anthropics:mainfrom
00200200:codex/token-free-git-auth
Open

00200200 wants to merge 1 commit into
anthropics:mainfrom
00200200:codex/token-free-git-auth

Conversation

@00200200

Copy link
Copy Markdown

Summary

  • add a git_credential_helper action input for token-free Git authentication
  • keep the existing credential-helper behavior for allowed_non_write_users
  • document the security trade-off and cover the explicit option with a unit test

Fixes #1818

Testing

  • npx --yes bun test (967 passed)
  • npx tsc --noEmit
  • npx prettier --check action.yml docs/security.md docs/usage.md src/github/operations/git-config.ts test/git-config.test.ts
  • git diff --check

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.

Authenticate git without writing the installation token into .git/config, independent of allowed_non_write_users

1 participant