Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Github PAT for git operations #79

Open
drewwells opened this issue Oct 19, 2021 · 1 comment
Open

Use Github PAT for git operations #79

drewwells opened this issue Oct 19, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@drewwells
Copy link

💡 Feature proposal

When provided an access_token, use it for all git operations in additions to github operations. This way a single PAT manages all operations related to copybara. This feature is somewhat described here utilizing github credentials google/copybara#101

Use-cases

I want to copy files from one private repo to another private repo. A github PAT is created with access to both repos, but I do not have a ssh private key for either repo.

Example

action would configure git credentials with the PAT. Copybara would then perform operations utilizing the github pat in the credentials helper.

@drewwells drewwells added the enhancement New feature or request label Oct 19, 2021
@politician
Copy link
Member

This is a good suggestion, thank you. I am swamped with work and currently only prioritize bugs on my OSS repos. If you or someone else want to pick it up, I will be happy to review the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants