feat: Add private repo workflows permission API support by zyfy29 · Pull Request #3679 · google/go-github
github/actions_workflows.go
Adds
WorkflowsPermissions struct with four boolean fields for controlling fork PR workflow behavior
github/repos_actions_permissions.go
Implements repository-level GET and PUT methods for private repo fork PR workflow settings
github/actions_permissions_orgs.go
Implements organization-level GET and PUT methods for private repo fork PR workflow settings
github/actions_permissions_enterprise.go
Implements enterprise-level GET and PUT methods for private repo fork PR workflow settings
github/repos_actions_permissions_test.go
Adds comprehensive tests for the repository-level API methods
github/actions_permissions_orgs_test.go
Adds comprehensive tests for the organization-level API methods
github/actions_permissions_enterprise_test.go
Adds comprehensive tests for the enterprise-level API methods
github/github-accessors.go
Adds getter methods for the WorkflowsPermissions struct fields
github/github-accessors_test.go
Adds tests for the getter methods
github/github-stringify_test.go
Adds test for the String() method of WorkflowsPermissions