Skip to content

Malnati/git-report-ops@v2.0.1

Choose a tag to compare

@Malnati Malnati released this 13 Dec 10:31
· 45 commits to main since this release
542ea99

This pull request updates the action.yml for the Git Pull Request Ops action, primarily to improve reliability when handling pull request URLs and to update the action version. The changes ensure that the PR URL is always properly set and validated before proceeding, and that failures are handled more robustly.

Version update:

  • Bumped the action version from v2.0.0 to v2.0.1 in the header comment, reflecting a new release.

Pull request creation and output handling:

  • Refactored the logic for setting and validating the pull request URL to always assign PR_URL regardless of whether the PR already exists or is newly created, and added a check to fail early if the URL is missing or invalid.
  • Moved the output of pr_url and pr_state to after the validation, ensuring that only valid data is written to the GitHub Actions output.