Skip to content

fix: auto-configure git credentials after gh auth#17

Closed
skulidropek wants to merge 1 commit intomainfrom
issue-14-fix
Closed

fix: auto-configure git credentials after gh auth#17
skulidropek wants to merge 1 commit intomainfrom
issue-14-fix

Conversation

@skulidropek
Copy link
Contributor

Summary

  • run gh auth setup-git --hostname github.com --force in generated entrypoint when GH_TOKEN is present
  • derive git identity fallback (user.name, user.email) from authenticated GitHub account when env identity is not set
  • add regression assertions in template tests for the new gh->git wiring

Verification

  • pnpm --filter @effect-template/docker-git test
  • pnpm check
  • pnpm test

Fixes #14

@skulidropek
Copy link
Contributor Author

Объединил изменения в #15: туда перенесены изменения из этой ветки и добавлены проверки. Закрываю как дубликат.

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.

Сделать что бы gh авторизация сама настраивала git со всеми нужными кредами

1 participant