Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github App Installation Token Permission list misalign with latest API document #1879

Closed
xun-guo-anzx opened this issue May 31, 2021 · 0 comments
Assignees

Comments

@xun-guo-anzx
Copy link
Contributor

It looks like the supported properties in App.InstallationPermissions struct used by App.CreateInstallationToken(Doc) is out of date.

Properties listed in API document (same for both Enterprise v3 and Github.com version) but missing in implementation are:

  • environments
  • secret_scanning_alerts
  • secrets
  • security_events
  • workflows
  • organization_secrets
  • organization_self_hosted_runners

Docs

API references can be found in Properties of the permissions object section in both Enterprise 3.0 and Github.com

Proposal

Update permission properties list to add new fields included in latest API Documents to App.InstallationPermissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant