action-commit-push
action-commit-push copied to clipboard
Cloned repo with path
: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)
similar to working-directory: