@@ -108,27 +108,27 @@ process {
108108 }
109109
110110 LogGroup ' EventInfo - Sender' {
111- $Sender = $gitHubEvent.sender
111+ $Sender = $gitHubEvent.sender | Select-Object - Property login , type , id , node_id , html_url
112112 $Sender | Format-List
113113 }
114114
115115 LogGroup ' EventInfo - Enterprise' {
116- $Enterprise = $gitHubEvent.enterprise
116+ $Enterprise = $gitHubEvent.enterprise | Select-Object - Property name , slug , id , node_id , html_url
117117 $Enterprise | Format-List
118118 }
119119
120120 LogGroup ' EventInfo - Organization' {
121- $Organization = $gitHubEvent.organization
121+ $Organization = $gitHubEvent.organization | Select-Object - Property login , id , node_id
122122 $Organization | Format-List
123123 }
124124
125125 LogGroup ' EventInfo - Owner' {
126- $Owner = $gitHubEvent.repository.owner
126+ $Owner = $gitHubEvent.repository.owner | Select-Object - Property login , type , id , node_id , html_url
127127 $Owner | Format-List
128128 }
129129
130130 LogGroup ' EventInfo - Repository' {
131- $Repository = $gitHubEvent.repository | Select-Object - ExcludeProperty owner
131+ $Repository = $gitHubEvent.repository | Select-Object - Property name , full_name , html_url , id , node_id , default_branch
132132 $Repository | Format-List
133133 }
134134
0 commit comments