Checkout: Repository not found

Created on 27 Nov 2020  Â·  10Comments  Â·  Source: actions/checkout

We've been using actions/checkout@v1 with default configuration (no parameters) an everything was ok.

Now we are getting error on fetching repo:

Error: fatal: repository 'https://github.com/...' not found

It's a private repo in our organization. Here's the full log.

Run actions/checkout@v1
  with:
    clean: true
Syncing repository: ...
git version
git version 2.29.2
git lfs version
git-lfs/2.12.1 (GitHub; linux amd64; go 1.13.4)
git init "/home/runner/work/..."
Initialized empty Git repository in /home/runner/work/.../.git/
git remote add origin https://github.com/TacitInnovations/RestoLinkx-Android
git config gc.auto 0
git config --get-all http.https://github.com/....extraheader
git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/pull/697/merge:refs/remotes/pull/697/merge
remote: Repository not found.
Error: fatal: repository 'https://github.com/.../' not found
Warning: Git fetch failed with exit code 128, back off 4.377 seconds before retry.
git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/pull/697/merge:refs/remotes/pull/697/merge
remote: Repository not found.
Error: fatal: repository 'https://github.com/.../' not found
Warning: Git fetch failed with exit code 128, back off 1.093 seconds before retry.
git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/pull/697/merge:refs/remotes/pull/697/merge
remote: Repository not found.
Error: fatal: repository 'https://github.com/.../' not found
Error: Git fetch failed with exit code: 128
Error: Exit code 1 returned from process: file name '/home/runner/runners/2.274.2/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Repository.v1_0.CheckoutTask, Runner.Plugins"'.

Tried with latest version – same error.

Most helpful comment

It seems related to a Github Actions major outage: https://www.githubstatus.com/

All 10 comments

Duplicate of #394

We are also facing the same issue. We are using actions/checkout@v1

It seems related to a Github Actions major outage: https://www.githubstatus.com/

I'm facing the same issue

Same here :(

image

We are having the same issue as well when trying to checkout additional (tools) repo.
Main checkout works as expected.

So any ideas how to fix this?

@yhrabovskyinomi I just created Personal access token and it worked

this is weird. I've re-created same token with same permissions and it started to work too. Magic xD

@ntoskrnl For me, this also started working when creating a new github acces token and adding it to my workflow.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nelsonjchen picture nelsonjchen  Â·  5Comments

zeke picture zeke  Â·  7Comments

KOLANICH picture KOLANICH  Â·  4Comments

chorrell picture chorrell  Â·  4Comments

gordinmitya picture gordinmitya  Â·  7Comments