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

Self hosted : Error: fatal not in a git directory #77

Open
rahulpatidar0191 opened this issue Jul 4, 2023 · 2 comments
Open

Self hosted : Error: fatal not in a git directory #77

rahulpatidar0191 opened this issue Jul 4, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@rahulpatidar0191
Copy link

rahulpatidar0191 commented Jul 4, 2023

Similar to #49

It runs fine on the github's runner but seem to fail on a self hosted runner

We are using 0.7.4 version

image

@rahulpatidar0191 rahulpatidar0191 changed the title Self hosted : Error: fatal: not in a git directory Self hosted : Error: fatal not in a git directory Jul 4, 2023
@saadmk11
Copy link
Owner

saadmk11 commented Aug 5, 2023

I have not used self-hosted runners so not sure I can provide much help here. perhaps you can try running

- name: Git Safe Dirrectory
  shell: bash
  run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

before the github-actions-version-updater step.

@saadmk11 saadmk11 added the help wanted Extra attention is needed label Aug 5, 2023
@rahulpatidar0191
Copy link
Author

@saadmk11 Thanks. I'll give that a shot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants