di / id

A tool for generating OIDC identities
Apache License 2.0
10 stars 3 forks source link

CircleCI workflow is failing #261

Closed woodruffw closed 3 months ago

woodruffw commented 3 months ago

It's not a required check, but it's been failing for a bit: https://app.circleci.com/pipelines/github/di/id/269/workflows/0cb5e38e-9f14-4c6d-a5d0-a9795c45f269/jobs/263

Looks like some kind of permissions problem; maybe because it's cloning using ssh instead of https:

Writing SSH key for checkout to "/home/circleci/.ssh/id_rsa"
Writing SSH public key for checkout to "/home/circleci/.ssh/id_rsa.pub"
Cloning git repository
Cloning into '.'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error running git clone "git@github.com:di/id.git": exit status 128

error running git clone "git@github.com:di/id.git": exit status 128

From https://circleci.com/docs/configuration-reference/#checkout it looks like CircleCI's checkout only supports SSH, so this step probably needs to become an explicit git clone.

di commented 3 months ago

Odd. I followed the steps here and it appears to have fixed it: https://batsov.com/articles/2022/09/20/resetting-circleci-checkout-ssh-keys/

woodruffw commented 3 months ago

Very weird. Glad it was simple!