checkout icon indicating copy to clipboard operation
checkout copied to clipboard

How to pull local repo via path

Open kenorb opened this issue 4 years ago • 1 comments

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.

kenorb avatar Nov 08 '21 18:11 kenorb

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?

insano10 avatar May 01 '24 13:05 insano10