You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: github/actions_permissions_enterprise.go
+37Lines changed: 37 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -375,3 +375,40 @@ func (s *ActionsService) UpdatePrivateRepoForkPRWorkflowSettingsInEnterprise(ctx
375
375
376
376
returns.client.Do(ctx, req, nil)
377
377
}
378
+
379
+
// GetEnterpriseForkPRContributorApprovalPermissions gets the fork PR contributor approval policy for an enterprise.
380
+
//
381
+
// GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-enterprise
382
+
//
383
+
//meta:operation GET /enterprises/{enterprise}/actions/permissions/fork-pr-contributor-approval
// UpdateEnterpriseForkPRContributorApprovalPermissions sets the fork PR contributor approval policy for an enterprise.
402
+
//
403
+
// GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-enterprise
404
+
//
405
+
//meta:operation PUT /enterprises/{enterprise}/actions/permissions/fork-pr-contributor-approval
0 commit comments