create-github-app-token
create-github-app-token copied to clipboard
Permission to manage GitHub Repository Variables
I'd like to get the permission to manage GitHub Repository Variables.
https://docs.github.com/ja/rest/authentication/permissions-required-for-github-apps?apiVersion=2022-11-28#repository-permissions-for-variables https://cli.github.com/manual/gh_variable
But seems like the permission isn't supported.
https://github.com/actions/create-github-app-token/blob/main/scripts/generated/app-permissions.json
The permissions are based on the app-permissions schema from GitHub's OpenAPI schema. We get it from the @octokit/openapi package which receives pull request whenever a change is found, like this one:
https://github.com/octokit/openapi/pull/487. It's possible that this pull request already has the new permission and will resolve it, if not someone has to open an issue in github/rest-api-description/ which is the repository where GitHub publishes their public OpenAPI specs to.
We wanted to use @octokit/app-permissions but that repository needs fixing and it became to much of a rabbit hole, but hope we get around tore solve that
looks like this issue still exists and cannot gain permission-variables or permission-organization-variables permissions using this action.
@gr2m - anyway we can get this issue fixed before the next release ?
@gr2m - Gentle reminder ! 🙏