Skip to content

🩹 [Patch]: Add logging for GitHub event data in info script #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2025

Conversation

MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Jul 22, 2025

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: Added a new log group labeled 'Event Information' that retrieves and formats GitHub event data using Get-GitHubEventData.

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the scripts/info.ps1 file by adding logging capabilities for GitHub event data to improve visibility into event-related information during script execution.

  • Adds a new logging group section for displaying GitHub event data
  • Integrates with existing Get-GitHubEventData function to retrieve event information
  • Maintains consistency with the existing logging structure in the script
Comments suppressed due to low confidence (1)

scripts/info.ps1:54

  • [nitpick] The log group label has inconsistent spacing. Consider using 'Event Information' instead of ' - Event Information' to match the formatting pattern of other log groups in the script.
        LogGroup ' - Event Information' {

@MariusStorhaug MariusStorhaug merged commit 53dd5b9 into main Jul 22, 2025
71 checks passed
@MariusStorhaug MariusStorhaug deleted the event branch July 22, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant