Skip to content

How to pull local repo via path #635

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

Open
kenorb opened this issue Nov 8, 2021 · 1 comment
Open

How to pull local repo via path #635

kenorb opened this issue Nov 8, 2021 · 1 comment

Comments

@kenorb
Copy link

kenorb commented Nov 8, 2021

Normally using git you can specify a path to pull the repo. I've tried to use repository to specify ./some/path, but it failed:

Error: Invalid repository './some/path'. Expected format {owner}/{repo}.

As I'm trying to clone the repo to another folder which I've already have Git files locally.

@insano10
Copy link

insano10 commented May 1, 2024

I would like an answer to this also.
I am using act and mock-github to verify some workflows locally, and when I give a ref to the checkout action, it performs validation assuming the path should be {owner}/repo. This means you cannot checkout from a file path, which is necessary to work with mock-github.

Are there any plans to loosen this validation to support local filesystem repos?

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

No branches or pull requests

2 participants