feat: permissions (#168)

- Load `app-permissions` from schema exported by `@octokit/openapi`
- Update documentation in README.md
- Implement the `permissions_*` inputs in the action code

---------

Co-authored-by: Parker Brown <[email protected]>
This commit is contained in:
Gregor Martynus
2025-03-27 19:00:54 +00:00
committed by GitHub
co-authored by Parker Brown
parent f577941506
commit 0e0aa99a86
21 changed files with 821 additions and 80 deletions
@@ -33,7 +33,7 @@ await test((mockPool) => {
})
.reply(
200,
{ id: mockInstallationId, "app_slug": mockAppSlug },
{ headers: { "content-type": "application/json" } }
{ id: mockInstallationId, app_slug: mockAppSlug },
{ headers: { "content-type": "application/json" } },
);
});