▲ | tadfisher 6 days ago | ||||||||||||||||
They do that, this is how GH apps work. There is no reason to expose the app's private key in the environment for the code that actually runs on the PR. | |||||||||||||||||
▲ | thewisenerd 6 days ago | parent [-] | ||||||||||||||||
even if they did not have the PEM file left in the environment, the token is still widely scoped and has the same scope as the PEM what i'm clearly mis-remembering is being able to exchange the token for a smaller scope e.g., hey~ sign this jwt, with scopes=[org/repo1, org/repo2, permissions=write] | |||||||||||||||||
|