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

"not a git repo" error #45

Open
Berkmann18 opened this issue Dec 23, 2019 · 2 comments
Open

"not a git repo" error #45

Berkmann18 opened this issue Dec 23, 2019 · 2 comments

Comments

@Berkmann18
Copy link

After trying to get this action to work on a private repo, I get this rather interesting error:

{"time":"2019-12-23T17:49:43.992Z","hostname":"860f8ffc12ff","pid":7,"level":"debug","name":"CodeRepository","message":"Found GitHub Action event file"}
{"time":"2019-12-23T17:49:44.106Z","hostname":"860f8ffc12ff","pid":7,"level":"info","name":"main","message":"Search for files with TODO tags..."}
{"time":"2019-12-23T17:49:44.107Z","hostname":"860f8ffc12ff","pid":7,"level":"info","name":"CodeRepository","message":"Search for files with TODO tags..."}
fatal: Not a git repository (or any parent up to mount point /github/workspace)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CLIEntrypoint.js

Collect TODOs and create issues

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Error: Command failed: git grep -Il TODO
fatal: Not a git repository (or any parent up to mount point /github/workspace)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

    at checkExecSyncError (child_process.js:623:11)
    at Object.execSync (child_process.js:659:15)
    at Object.<anonymous> (/app/lib/CodeRepository.js:37:53)
    at Generator.next (<anonymous>)
    at /app/lib/CodeRepository.js:7:71

The action is located in .github/workflows/todo.yml.

@milewski
Copy link

Same issue, any idea? @Berkmann18

@Berkmann18
Copy link
Author

@milewski Nope, I've not tried using it since.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants