Clone repo with app access token

I would like to create an app that has access to clone repositories it is installed in. However, I’m struggling to figure out, what permission I need to grant or if it’s not possible at all?{id}/access_tokens

I can access that endpoint and retrieve a token, it says these permissions:

"permissions": {
    "checks": "read",
    "contents": "read",
    "metadata": "read"
1 Like

Found solution: Cloning private repo with a Github App private key

1 Like