-
Notifications
You must be signed in to change notification settings - Fork 15
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
Use authenticated GitHub API calls #62
Comments
Using authentication tokens in the requests via PyGithub looks easy, however it appears to me that kernelci doesn't allow access with personal access tokens or the "fine-grained" ones. It looks it may need some actions from the organization owner. @gctucker: Can you help with this? |
So what kind of tokens is required? |
To summarize, right now we are using "anonymous" requests which are severely throttled, but we need to implement authenticated Github API calls.
|
We could add the certificate to kernelci-project/secrets as an encrypted file. |
Below is the detailed information to achieve authenticated Github API calls.
|
I have created a test app https://github.com/apps/test-github-app-kernelci and verified the above procedure. Below are some commands that worked for the test app:
|
|
@mgalka Could you please help to create a github app for |
The staging job is often failing with this error:
So the solution would seem to be about using authenticated requests.
The text was updated successfully, but these errors were encountered: