Skip to content

Commit

Permalink
docs: add comment on ruleset events
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrgm committed Sep 27, 2024
1 parent 0e094d2 commit a02543d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions gen/template_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,27 @@ var params = TemplateParameters{
Name: "repository_dispatch",
HasActions: false,
},
// todo(cbrgm): This event type is not available in the upstream version of go-github yet
// see: https://github.com/google/go-github/blob/master/github/event_types.go
// {
// Event: "RepositoryRulesetEvent",
// Name: "repository_ruleset",
// Actions: []Action{
// {
// Handler: "RepositoryRulesetEventCreated",
// Action: "created",
// },
// {
// Handler: "RepositoryRulesetEventDeleted",
// Action: "deleted",
// },
// {
// Handler: "RepositoryRulesetEventEdited",
// Action: "edited",
// },
// },
// HasActions: true,
// },
{
Event: "RepositoryEvent",
Name: "repository",
Expand Down

0 comments on commit a02543d

Please sign in to comment.