Skip to content

Commit

Permalink
Address PR comments.
Browse files Browse the repository at this point in the history
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
  • Loading branch information
grahamhar and gmlewis committed Aug 12, 2024
1 parent 2d08ad4 commit 1918bd0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions github/repos_rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ type RulePatternParameters struct {
Pattern string `json:"pattern"`
}

// RuleFileParameters represents a list of file paths
// RuleFileParameters represents a list of file paths.
type RuleFileParameters struct {
RestrictedFilePaths *[]string `json:"restricted_file_paths"`
}
Expand Down Expand Up @@ -416,8 +416,6 @@ func NewFilePathRestrictionRule(params *RuleFileParameters) (rule *RepositoryRul
}
}

// BypassActor represents a bypass actor object.

// Ruleset represents a GitHub ruleset object.
type Ruleset struct {
ID *int64 `json:"id,omitempty"`
Expand Down

0 comments on commit 1918bd0

Please # to comment.