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

Repository not found #509

Open
chingc opened this issue May 19, 2021 · 5 comments
Open

Repository not found #509

chingc opened this issue May 19, 2021 · 5 comments

Comments

@chingc
Copy link

chingc commented May 19, 2021

Sorry, I don't know if this is the right place to post this, but today I've been having issues with actions/checkout@v2 where it would fail to checkout my repository. The error says my repository is not found. However, it wasn't happening all the time.

I had some workflows that didn't fail and those were all using my personal access token. After I updated my failing workflows to use a PAT my builds starting running again.

- uses: actions/checkout@v2
  with:
    token: ${{ secrets.MY_TOKEN }}

Could the default authentication token obtained by actions/checkout be bad?

@dasasathyan
Copy link

I started seeing this today in the morning.. 😕

@tsargent
Copy link

tsargent commented Jun 4, 2021

Same here. I was not able to push new commits to the remote, due to the repository not found error. I created my own personal access token, added it as a secret, and used that as the token value and it worked.

@tsira
Copy link

tsira commented Jun 9, 2021

also seeing this behavior

fatal: not in a git directory when running a git cmd

@phamnhuvu-dev
Copy link

I am facing too.

@steve-taylor
Copy link

Can someone please explain what causes this and how to work around it?

Some say that switching to a PAT fixes it (e.g. with: token: ${{ secrets.MY_TOKEN }}), but my experience is the opposite: It broke when I started using a PAT.

Some say it's caused by GitHub outages, but there's no outage at the moment.

Some say fetch-depth: 0 should be used, but I'm already using it and it's still broken.

Some say that the git version has to be at least 2.18, but I'm running on ubuntu-latest which uses git 2.33.0.

All these reasons have so far been incorrect.

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

6 participants