Skip to content

Commit

Permalink
improved comment for documentation; replaced with as given in github …
Browse files Browse the repository at this point in the history
…docs
  • Loading branch information
unamdev0 committed Oct 4, 2024
1 parent f7dd113 commit e63118c
Show file tree
Hide file tree
Showing 7 changed files with 407 additions and 407 deletions.
10 changes: 5 additions & 5 deletions github/event_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1505,17 +1505,17 @@ type RepositoryImportEvent struct {
Sender *User `json:"sender,omitempty"`
}

// RepositoryRuleSetEvent event occurs when there is activity relating to repository rulesets
//
// RepositoryRulesetEvent triggers whenever there is a change to the repository's ruleset configuration.
// This can include updates to protection rules, required status checks, code owners, or other related configurations.
// GitHub API docs: https://docs.github.com/en/webhooks/webhook-events-and-payloads#repository_ruleset
type RepositoryRuleSetEvent struct {
type RepositoryRulesetEvent struct {
Action *string `json:"action,omitempty"`
Enterprise *Enterprise `json:"enterprise,omitempty"`
Installation *Installation `json:"installation,omitempty"`
Organization *Organization `json:"organization,omitempty"`
Repository *Repository `json:"repository,omitempty"`
RepositoryRuleSet *RepositoryRuleSet `json:"repository_ruleset"`
Changes *RepositoryRuleSetEditedChanges `json:"changes,omitempty"`
RepositoryRuleset *RepositoryRuleset `json:"repository_ruleset"`
Changes *RepositoryRulesetEditedChanges `json:"changes,omitempty"`
Sender *User `json:"sender"`
}

Expand Down
Loading

0 comments on commit e63118c

Please sign in to comment.