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

fatal: not a git repository #20

Open
cakeinpanic opened this issue Jul 5, 2020 · 1 comment
Open

fatal: not a git repository #20

cakeinpanic opened this issue Jul 5, 2020 · 1 comment

Comments

@cakeinpanic
Copy link

Hi!

Have some problems with running the action, take a look please:

Traceback (most recent call last):
  File "/entrypoint.py", line 53, in <module>
    run()
  File "/entrypoint.py", line 47, in run
    debug(git(['checkout', '-B', branch]))
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/base.py", line 96, in __call__
    return self.run(args, **kwargs)[1]
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/base.py", line 232, in run
    return p.run()
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/base.py", line 193, in runner
    return run_proc(p, retcode, timeout)
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/processes.py", line 302, in run_proc
    return _check_process(proc, retcode, timeout, stdout, stderr)
  File "/usr/local/lib/python3.7/site-packages/plumbum/commands/processes.py", line 22, in _check_process
    proc.verify(retcode, timeout, stdout, stderr)
  File "/usr/local/lib/python3.7/site-packages/plumbum/machines/base.py", line 26, in verify
    stderr)
plumbum.commands.processes.ProcessExecutionError: Unexpected exit code: 128
Command line: | /usr/bin/git checkout -B master
Stderr:       | fatal: not a git repository (or any parent up to mount point /github)
              | Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

configuration:

 push-build:
    needs: build-test # another job
    if: needs.build-test.outputs.LIB_DIFF
    runs-on: ubuntu-16.04
    steps:
    - name: "archive lib when diff"
      uses: github-actions-x/[email protected]
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        commit-message: 'build action'
        files: lib
        name: Build action bot
        email: [email protected]

@cakeinpanic
Copy link
Author

It may be connected to the fact. I have added another remote on my local machine. But I have removed it, re-initialized repo, but it did not help :(

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

1 participant