You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kubechecks should be able to authenticate and clone repositories using the GitHub App credentials.
Actual Behavior
Despite having valid GitHub App credentials and permissions, kubechecks fails to authenticate when attempting to clone repositories using HTTPS.
Attempted Solutions
Verified GitHub App permissions
Added KUBECHECKS_VCS_BASE_URL and KUBECHECKS_VCS_UPLOAD_URL
Added KUBECHECKS_VCS_USERNAME
Confirmed installation ID is correct
I would appreciate any guidance on how to resolve this authentication issue or if there's a recommended authentication method for repository cloning when using GitHub Apps.
The text was updated successfully, but these errors were encountered:
It looks like this might not be implemented. It was added here, but seems either it broke or simply never worked. Or accidentally worked? Looks like we use the github app auth to communicate with github's APIs, but we still use the VCS_TOKEN to clone the repo, which I'm guessing isn't correct.
We'll need to get that fixed; until we do, you can swap to an API token that has the following permissions:
Read access to code and metadata
Read and Write access to commit statuses, issues, pull requests, and repository hooks
Issue Description
When using GitHub App authentication, kubechecks fails to clone repositories with the following error:
Configuration
I have configured all the required GitHub App credentials:
KUBECHECKS_GITHUB_APP_ID
KUBECHECKS_GITHUB_INSTALLATION_ID
KUBECHECKS_GITHUB_PRIVATE_KEY
The GitHub App has the correct permissions:
Contents: Read & write
Metadata: Read-only
Pull requests: Read & write
Commit statuses: Read & write
Expected Behavior
kubechecks should be able to authenticate and clone repositories using the GitHub App credentials.
Actual Behavior
Despite having valid GitHub App credentials and permissions, kubechecks fails to authenticate when attempting to clone repositories using HTTPS.
Attempted Solutions
Verified GitHub App permissions
Added KUBECHECKS_VCS_BASE_URL and KUBECHECKS_VCS_UPLOAD_URL
Added KUBECHECKS_VCS_USERNAME
Confirmed installation ID is correct
I would appreciate any guidance on how to resolve this authentication issue or if there's a recommended authentication method for repository cloning when using GitHub Apps.
The text was updated successfully, but these errors were encountered: