Skip to content

Commit 53dd5b9

Browse files
🩹 [Patch]: Add logging for GitHub event data in info script (#64)
## Description This pull request adds a new logging group to the `scripts/info.ps1` file for better visibility into event-related information. ### Logging Improvements: * [`scripts/info.ps1`](diffhunk://#diff-82c586f67d16e32953b47a962c269d0a484f8aa660d71ad354e91fd2d4334cd9R54-R57): Added a new log group labeled 'Event Information' that retrieves and formats GitHub event data using `Get-GitHubEventData`. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent d7819cb commit 53dd5b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/info.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ process {
5151
Get-GitHubConfig | Format-List | Out-String
5252
}
5353

54+
LogGroup ' - Event Information' {
55+
Get-GitHubEventData | Format-List | Out-String
56+
}
57+
5458
$fenceEnd = '' + ('' * ($fenceStart.Length - 2)) + ''
5559
Write-Output $fenceEnd
5660
} catch {

0 commit comments

Comments
 (0)