v1.0.1
🩹[Patch]: Fix repo linting on merge to main (#2)
This release updates the logic for determining pull request states in the scripts/main.ps1 script, making the conditions for open, updated, abandoned, and merged pull requests more precise and adding improved logging for GitHub event inputs.
Improvements to PR state detection:
- Refined the
$isOpenOrUpdatedPRcondition to trigger only for'opened','reopened', or'synchronize'actions, making it more accurate than the previous logic. - Updated the
$isMergedPRcondition to require both the'closed'action and that the PR is marked as merged, preventing false positives.
Logging enhancements:
- Added output of relevant GitHub event environment variables at the start of the job run conditions calculation for easier debugging and traceability.