Error: The process '/usr/bin/git' failed with exit code 128

See original GitHub issue

Couple of days back this action stopped working.

    - name: Checkout private tools
      uses: actions/checkout@v2
      with:
        repository: tectonic/infrastructure-helm
        token: ${{ secrets.GIT_TECHDEPLOY_TOKEN }}
        path: infrastructure-helm
        fetch-depth: 0
        ref: master
Run actions/checkout@v2
/usr/bin/docker exec  d0faea3798ca7561c881e147e6613d25f75372e481a2c181696cc87de585d470 sh -c "cat /etc/*release | grep ^ID"
Syncing repository: tectonic/infrastructure-helm
Getting Git version info
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
  remote: Repository not found.
  Error: fatal: repository 'https://github.com/tectonic/infrastructure-helm/' not found
  The process '/usr/bin/git' failed with exit code 128
  Waiting 19 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
  remote: Repository not found.
  Error: fatal: repository 'https://github.com/tectonic/infrastructure-helm/' not found
  The process '/usr/bin/git' failed with exit code 128
  Waiting 11 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
  remote: Repository not found.
  Error: fatal: repository 'https://github.com/tectonic/infrastructure-helm/' not found
  Error: The process '/usr/bin/git' failed with exit code 128

Seems similar to this issue: https://github.com/ad-m/github-push-action/issues/76

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:62
  • Comments:67

github_iconTop GitHub Comments

83reactions
jayconsciouscommented, Feb 28, 2021

How to solve this problem?

14reactions
realnikolajcommented, May 11, 2022

I had the same issue after creating another template from a working project. To fix it I had to change Workflow permission through Repo -> Settings -> Actions -> General Set: Read and write permissions Check: Allow Github Actions to create and approve pull requests

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSTS Git Fetch Failed with exit code: 128 - Stack Overflow
Another possible cause of the "Git fetch failed with exit code: 128" error message - it happened to us for pull requests builds...
Read more >
Build fails with "Git fetch failed with exit code: 128" error with ...
During the get sources step of the build it is configured to fetch the git repository from bitbucket (https://bitbucket.org//provident/pm.com is the repo url)....
Read more >
Git failed with exit code 128 - Sublime Merge
Download and install the latest version of Git for Windows · If this does not solve the issue, try updating Git for Windows...
Read more >
CSDN博客_the process '/usr/bin/git' failed with exit code 1
工作流运行过程产生错误"The process '/usr/bin/git' failed with exit code 128 ❌",导致部署失败。 详细工作流运行日志:
Read more >
About The Exit Code 128 | Bitbucket Cloud - Jira - Atlassian
error : RPC failed; result=18, HTTP code = 200. git did not exit cleanly (exit code 128) ... command 'c:\Program Files (x86)\Git\bin\git.exe' fetch ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found