Skip to content
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

Cloned repo with path #96

Open
vinayprakash893 opened this issue Nov 18, 2023 · 1 comment
Open

Cloned repo with path #96

vinayprakash893 opened this issue Nov 18, 2023 · 1 comment
Assignees
Labels
feature Adding a new feature

Comments

@vinayprakash893
Copy link

📝 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
Copy link
Author

similar to
working-directory:

@ChristophShyper ChristophShyper added the feature Adding a new feature label Nov 20, 2023
@ChristophShyper ChristophShyper self-assigned this Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding a new feature
Development

No branches or pull requests

2 participants