Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions github/github-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions github/github-accessors_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions github/github-stringify_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions github/teams.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,6 @@ type NewTeam struct {
// NotificationSetting can be one of: "notifications_enabled", "notifications_disabled".
NotificationSetting *string `json:"notification_setting,omitempty"`

// Deprecated: Permission is deprecated when creating or editing a team in an org
// using the new GitHub permission model. It no longer identifies the
// permission a team has on its repos, but only specifies the default
// permission a repo is initially added with. Avoid confusion by
// specifying a permission value when calling AddTeamRepo.
Permission *string `json:"permission,omitempty"`

// Privacy identifies the level of privacy this team should have.
// Possible values are:
// secret - only visible to organization owners and members of this team
Expand Down
2 changes: 0 additions & 2 deletions github/teams_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1588,7 +1588,6 @@ func TestNewTeam_Marshal(t *testing.T) {
RepoNames: []string{"repo1", "repo2"},
NotificationSetting: Ptr("notifications_enabled"),
ParentTeamID: Ptr(int64(1)),
Permission: Ptr("perm"),
Privacy: Ptr("p"),
LDAPDN: Ptr("l"),
}
Expand All @@ -1600,7 +1599,6 @@ func TestNewTeam_Marshal(t *testing.T) {
"repo_names": ["repo1", "repo2"],
"parent_team_id": 1,
"notification_setting": "notifications_enabled",
"permission": "perm",
"privacy": "p",
"ldap_dn": "l"
}`
Expand Down