Skip to content

Commit

Permalink
Update orgs_audit_log.go - Add old_name field
Browse files Browse the repository at this point in the history
This field is used when a repository is renamed.
  • Loading branch information
lmartinking authored Jul 26, 2023
1 parent 4074b7c commit 93afe15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions github/orgs_audit_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ type AuditEntry struct {
Message *string `json:"message,omitempty"`
Name *string `json:"name,omitempty"`
OAuthApplicationID *int64 `json:"oauth_application_id,omitempty"`
OldName *string `json:"old_name,omitempty"` // The previous name of the repository, for a name change
OldUser *string `json:"old_user,omitempty"`
OldPermission *string `json:"old_permission,omitempty"` // The permission level for membership changes, for example `admin` or `read`.
OpenSSHPublicKey *string `json:"openssh_public_key,omitempty"`
Expand Down

0 comments on commit 93afe15

Please sign in to comment.