Skip to content

Commit

Permalink
Add repository default label changed event
Browse files Browse the repository at this point in the history
  • Loading branch information
saquibmian committed May 8, 2024
1 parent aeb566a commit d0730d6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions proto/buf/alpha/audit/v1alpha1/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ enum EventType {
EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ROLE_CHANGED = 10;
EVENT_TYPE_REPOSITORY_CONTRIBUTOR_REMOVED = 11;
EVENT_TYPE_REPOSITORY_VISIBILITY_CHANGED = 12;
EVENT_TYPE_REPOSITORY_DEFAULT_LABEL_NAME_CHANGED = 40;
EVENT_TYPE_PLUGIN_CREATED = 13 [deprecated = true];
EVENT_TYPE_PLUGIN_DELETED = 14 [deprecated = true];
EVENT_TYPE_CURATED_PLUGIN_CREATED = 20;
Expand Down Expand Up @@ -156,6 +157,7 @@ message Event {
PayloadRepositoryContributorRoleChanged repository_contributor_role_changed = 16;
PayloadRepositoryContributorRemoved repository_contributor_removed = 17;
PayloadRepositoryVisibilityChanged repository_visibility_changed = 18;
PayloadRepositoryDefaultLabelNameChanged repository_default_label_name_changed = 46;
PayloadUserCreated user_created = 21;
PayloadUserDeactivated user_deactivated = 22;
PayloadUserDeleted user_deleted = 23;
Expand Down Expand Up @@ -331,6 +333,17 @@ message PayloadRepositoryVisibilityChanged {
buf.alpha.registry.v1alpha1.Visibility new_visibility = 4;
}

message PayloadRepositoryDefaultLabelNameChanged {
// owner_id is the id of the owner of the repository.
string owner_id = 1;
// owner_name is the name of the owner of the repository.
string owner_name = 2;
// old_default_label_name is the old default label name of the repository.
string old_default_label_name = 3;
// new_default_label_name is the new default label name of the repository.
string new_default_label_name = 4;
}

message PayloadRepositoryDefaultBranchChanged {
// owner_id is the id of the owner of the repository.
string owner_id = 1;
Expand Down

0 comments on commit d0730d6

Please sign in to comment.