[SOLVED] Permission denied (publickey)

Hello,

I cleared my GitHub 3rd party applications during a credentials rotation, and now I cannot build my projects anymore for 2 organisations (one of which I’m admin for).

The checkout fails with error:

Permission denied (publickey).

I have verified in GitHub that my main organisation and personal accounts show CircleCI as having access.

Is there a recommended workflow to fix this?

Thanks!

– Thibaut

2 Likes

I ultimately figured it out.

Apparently just allowing all private repositories (even for organisations) wasn’t enough, I had to go to each project page:

https://circleci.com/gh/[ORG]/[PROJECT]/edit#checkout

to fix checkout keys. Sometimes I had to re-add a project manually.

– Thibaut

3 Likes