Skip to content

v2.0.3

Choose a tag to compare

@Malnati Malnati released this 15 Dec 17:53
· 35 commits to main since this release
1a8f9d8

Malnati/git-report-ops@v2.0.2 This pull request introduces enhanced error logging and several improvements to the workflow defined in action.yml. The main changes focus on adding centralized error logging, improving the robustness of GitHub CLI commands, and streamlining template rendering and variable export steps.

Error logging and workflow robustness:

  • Added a new errors input and integrated the Malnati/ops-errors@v1.0.0 action to centralize error logs for the workflow. Informational messages are now shown if the error log path is not provided, and confirmation is logged when error logging is enabled. [1] [2]
  • Wrapped critical gh CLI commands with a with_error_log function to capture errors and improve troubleshooting, including authentication and PR operations. [1] [2] [3]

Template rendering and variable handling:

  • Replaced the export and environment variable steps for template rendering with a more direct approach using the Malnati/templateer@v1.0.1 action, and improved how variables (like the attached file basename) are passed to templates. [1] [2]

Command output and UX improvements:

  • Made git fetch and git checkout commands quieter to reduce log noise. [1] [2]
  • Added export of the errors path as an environment variable for downstream steps.

These changes make the workflow more reliable, easier to debug, and simpler to maintain.