You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
Recently I wanted to clone a repo that Im not owned that, but the owner gave me the access to do anything there.(so I can create my PAT too)
the flow code:
- name: cloning deps
uses: GuillaumeFalourd/clone-github-repo-action@v2.3
with:
owner: 'RealOwner'
branch: master
repository: 'RepoName'
access-token: ${{ secrets.PAT}} ## but this is my PAT, not the owner. how resolve this without requesting PAT from the owner?
Edit: why I asked this question?
because when I insert my PAT , it giving some errors: fatal: could not read Username for 'https://github.com/': Device not configured
Solution
Im not sure but I think it can solve this problem.
the pattern that we should do: git clone https://username:password@github.com/username/repository.git
so we should add another input like username, and add something (in link and other lines)like this:
Hello
Recently I wanted to clone a repo that Im not owned that, but the owner gave me the access to do anything there.(so I can create my PAT too)
the flow code:
Edit: why I asked this question?
because when I insert my PAT , it giving some errors:
fatal: could not read Username for 'https://github.com/': Device not configured
Solution
Im not sure but I think it can solve this problem.
the pattern that we should do:
git clone https://username:password@github.com/username/repository.git
so we should add another input like username, and add something (in link and other lines)like this:
pull requested, please check and confirm that if it's ok.(Im not sure)
#13
The text was updated successfully, but these errors were encountered: