Closed Marcodaum closed 1 year ago
Code for getting all repos under ampcc
curl -L -H "Accept: application/vnd.github+json" -H "Authorization: f7b4b47993ce3f646dadf953433e2770db3e407f" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/orgs/ampcc/repos
More Calls -> create organisation repositories
Created GitHub App in Organisation
https://github.com/organizations/ampcc/settings/apps/coding-challenge-bot
The Authentication for the API Calls will be managed in this App. (Not working right now)
Deleted GitHub App because there is a better way to authenticate in a workflow. feature/test-github-api
Changed Authentication Type to GithubApp
@lorenzschreyer Is this GitHub Access-Token, that is exposed in your second comment security-critical? If yes we have to recreate one.
Idea: test out api calls with ssh key on github rest api