Skip to content

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

@xun-guo-anzx

Description

@xun-guo-anzx

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions