Skip to content

Conversation

@MariusStorhaug
Copy link
Member

Description

This pull request makes a minor adjustment to the Set-GitHubOutput.ps1 script by removing the -Compress flag from the ConvertTo-Json cmdlet. This change ensures that the JSON output is not unnecessarily compressed, which may improve readability or compatibility in certain scenarios.

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

@MariusStorhaug MariusStorhaug self-assigned this Jun 6, 2025
Copilot AI review requested due to automatic review settings June 6, 2025 21:45
@MariusStorhaug MariusStorhaug requested a review from a team as a code owner June 6, 2025 21:45
@MariusStorhaug MariusStorhaug merged commit 903cdd8 into main Jun 6, 2025
@MariusStorhaug MariusStorhaug deleted the fixlastjson branch June 6, 2025 21:45
@github-project-automation github-project-automation bot moved this from Todo to Done in GitHub PowerShell Module Jun 6, 2025
Copy link
Contributor

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 fixes an issue in the Set-GitHubOutput.ps1 script by removing the unnecessary -Compress flag from the ConvertTo-Json cmdlet to improve the readability of the JSON output.

  • Removed the -Compress flag to output non-compressed JSON
  • Updated JSON conversion behavior in the script
Comments suppressed due to low confidence (1)

src/functions/public/Commands/Set-GitHubOutput.ps1:75

  • [nitpick] Consider adding an inline comment explaining the removal of the -Compress flag to clarify that the change is intended to improve JSON readability.
$Value = $Value | ConvertTo-Json -Depth 100

@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2025

Module GitHub - 0.29.2 published to the PowerShell Gallery.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2025

GitHub release for GitHub v0.29.2 has been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant