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/repos_rules.go
+60Lines changed: 60 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -408,6 +408,24 @@ type Ruleset struct {
408
408
Rules []*RepositoryRule`json:"rules,omitempty"`
409
409
}
410
410
411
+
// rulesetNoOmitBypassActors represents a GitHub ruleset object. The struct does not omit bypassActors if the field is nil or an empty array is passed.
412
+
typerulesetNoOmitBypassActorsstruct {
413
+
ID*int64`json:"id,omitempty"`
414
+
Namestring`json:"name"`
415
+
// Possible values for Target are branch, tag
416
+
Target*string`json:"target,omitempty"`
417
+
// Possible values for SourceType are: Repository, Organization
418
+
SourceType*string`json:"source_type,omitempty"`
419
+
Sourcestring`json:"source"`
420
+
// Possible values for Enforcement are: disabled, active, evaluate
0 commit comments