@@ -94,6 +94,7 @@ func TestAppsService_ListInstallations(t *testing.T) {
94
94
"contents": "read",
95
95
"content_references": "read",
96
96
"deployments": "read",
97
+ "environments": "read",
97
98
"issues": "write",
98
99
"metadata": "read",
99
100
"members": "read",
@@ -102,17 +103,23 @@ func TestAppsService_ListInstallations(t *testing.T) {
102
103
"organization_plan": "read",
103
104
"organization_pre_receive_hooks": "write",
104
105
"organization_projects": "read",
106
+ "organization_secrets": "read",
107
+ "organization_self_hosted_runners": "read",
105
108
"organization_user_blocking": "write",
106
109
"packages": "read",
107
110
"pages": "read",
108
111
"pull_requests": "write",
109
112
"repository_hooks": "write",
110
113
"repository_projects": "read",
111
114
"repository_pre_receive_hooks": "read",
115
+ "secrets": "read",
116
+ "secret_scanning_alerts": "read",
117
+ "security_events": "read",
112
118
"single_file": "write",
113
119
"statuses": "write",
114
120
"team_discussions": "read",
115
- "vulnerability_alerts": "read"
121
+ "vulnerability_alerts": "read",
122
+ "workflows": "write"
116
123
},
117
124
"events": [
118
125
"push",
@@ -141,31 +148,38 @@ func TestAppsService_ListInstallations(t *testing.T) {
141
148
SingleFileName : String ("config.yml" ),
142
149
RepositorySelection : String ("selected" ),
143
150
Permissions : & InstallationPermissions {
144
- Actions : String ("read" ),
145
- Administration : String ("read" ),
146
- Checks : String ("read" ),
147
- Contents : String ("read" ),
148
- ContentReferences : String ("read" ),
149
- Deployments : String ("read" ),
150
- Issues : String ("write" ),
151
- Metadata : String ("read" ),
152
- Members : String ("read" ),
153
- OrganizationAdministration : String ("write" ),
154
- OrganizationHooks : String ("write" ),
155
- OrganizationPlan : String ("read" ),
156
- OrganizationPreReceiveHooks : String ("write" ),
157
- OrganizationProjects : String ("read" ),
158
- OrganizationUserBlocking : String ("write" ),
159
- Packages : String ("read" ),
160
- Pages : String ("read" ),
161
- PullRequests : String ("write" ),
162
- RepositoryHooks : String ("write" ),
163
- RepositoryProjects : String ("read" ),
164
- RepositoryPreReceiveHooks : String ("read" ),
165
- SingleFile : String ("write" ),
166
- Statuses : String ("write" ),
167
- TeamDiscussions : String ("read" ),
168
- VulnerabilityAlerts : String ("read" )},
151
+ Actions : String ("read" ),
152
+ Administration : String ("read" ),
153
+ Checks : String ("read" ),
154
+ Contents : String ("read" ),
155
+ ContentReferences : String ("read" ),
156
+ Deployments : String ("read" ),
157
+ Environments : String ("read" ),
158
+ Issues : String ("write" ),
159
+ Metadata : String ("read" ),
160
+ Members : String ("read" ),
161
+ OrganizationAdministration : String ("write" ),
162
+ OrganizationHooks : String ("write" ),
163
+ OrganizationPlan : String ("read" ),
164
+ OrganizationPreReceiveHooks : String ("write" ),
165
+ OrganizationProjects : String ("read" ),
166
+ OrganizationSecrets : String ("read" ),
167
+ OrganizationSelfHostedRunners : String ("read" ),
168
+ OrganizationUserBlocking : String ("write" ),
169
+ Packages : String ("read" ),
170
+ Pages : String ("read" ),
171
+ PullRequests : String ("write" ),
172
+ RepositoryHooks : String ("write" ),
173
+ RepositoryProjects : String ("read" ),
174
+ RepositoryPreReceiveHooks : String ("read" ),
175
+ Secrets : String ("read" ),
176
+ SecretScanningAlerts : String ("read" ),
177
+ SecurityEvents : String ("read" ),
178
+ SingleFile : String ("write" ),
179
+ Statuses : String ("write" ),
180
+ TeamDiscussions : String ("read" ),
181
+ VulnerabilityAlerts : String ("read" ),
182
+ Workflows : String ("write" )},
169
183
Events : []string {"push" , "pull_request" },
170
184
CreatedAt : & date ,
171
185
UpdatedAt : & date ,
0 commit comments