-
Notifications
You must be signed in to change notification settings - Fork 20
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
How to clone repo with path name? #3
Comments
Hi @DaviMenezes , thank you for opening this issue! |
@DaviMenezes uses: GuillaumeFalourd/clone-github-repo-action@v3
with:
owner: <owner>
repository: <repo-name>
path-to-clone: <path/to/clone> If not informed, the repository will be cloned where the action is used. |
Hi @DaviMenezes , do you have any feedback? I've made a test:
Where it seems to work as expected, but I would love to have more returns about the feature. |
I'm using this to clone a repo inside an workflow and the path which is provided to it is not used and it is deleting all the exiting files in the repos that was checkout out by the workflow file. instead of cloning the repo |
Hi @satyamshishodiya! I didn't understand why the action was deleting the repository neither, so I made a few researches and it seems related to a github Are you using containers in your workflow? I also found this other issue: actions/checkout#430 (comment) where it is suggested to use the input |
There are no containers in my workflow. |
Hi @shishodiyas , did you try the other workarounds suggested in the link I shared as well? |
Hi tried various methods this issue is still pending. |
For what I can say, it doesn't seem related specifically to the clone operation inside the action, but to the |
It's a private repository so I can't. But I can share the workflow file. Only!!
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Guillaume Falourd ***@***.***>
Sent: Wednesday, June 22, 2022 11:03:08 PM
To: GuillaumeFalourd/clone-github-repo-action ***@***.***>
Cc: Satyam Singh Shishodiya ***@***.***>; Mention ***@***.***>
Subject: Re: [GuillaumeFalourd/clone-github-repo-action] How to clone repo with path name? (Issue #3)
For what I can say, it doesn't seem related specifically to the clone operation inside the action, but to the action/checkout. Now, if you want to share the workflow you were using, I can perform more tests to check.
—
Reply to this email directly, view it on GitHub<#3 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYTDXWXY4OQWQM2DKYK47CDVQNE5JANCNFSM5UNDBTJA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
The workflow file would be enough 👍🏼 |
git clone .../owner/myrepo MyPath/MyRepo
The text was updated successfully, but these errors were encountered: