action-commit-push icon indicating copy to clipboard operation
action-commit-push copied to clipboard

Cloned repo with path

Open vinayprakash893 opened this issue 1 year ago • 1 comments

:memo: Brief description

Ho do i provide the path of the cloned repo, so that i can use this actions to commit

steps:
  - uses: actions/checkout@v4
    with:
      token: ${{ secrets.REPO_SCOPED_TOKEN }}
      path: ${{github.run_id}}/mycode
      
      is there a way to prove the path where git has cloned to this action. otherwise we get error as  

fatal: not a git repository (or any parent up to mount point /github) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)

vinayprakash893 avatar Nov 18 '23 11:11 vinayprakash893

similar to working-directory:

vinayprakash893 avatar Nov 18 '23 17:11 vinayprakash893