Skip to content

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 17 Jan 15:34
· 10 commits to main since this release
58d80d7

🩹 [Patch]: Correct how we get pull request info (#3)

This release updates the logic for processing GitHub event data in scripts/main.ps1, making the workflow more robust and accurate when handling pull request events. The main improvements focus on how event data is retrieved and how pull request states are determined.

Event Data Handling Improvements:

  • Added logic to retrieve and parse GitHub event data more reliably, including a fallback to read and parse the event file if the primary method fails.
  • Introduced a dedicated logging group to output the full event data for easier debugging.

Pull Request State Calculation Enhancements:

  • Refactored how pull request action and merged status are determined, using parsed event data instead of relying solely on environment variables.
  • Updated the conditions for identifying open/updated, abandoned, and merged pull requests to use the improved event data logic, ensuring more accurate state detection.