Skip to content

Malnati/pr-comment@v8.0.2

Latest

Choose a tag to compare

@Malnati Malnati released this 12 Dec 15:02
· 17 commits to main since this release
Immutable release. Only release title and notes can be modified.
940495b

Malnati/pr-comment@v8.0.2 updates the action.yml file for the PR Comment Pro GitHub Action, focusing on improving clarity, maintainability, and user experience. The main changes include updating the action version, enhancing step naming and descriptions, consolidating steps for efficiency, and cleaning up unnecessary comments and grouping commands.

General Improvements:

  • Updated the referenced action version from v8.0.1 to v8.0.2 and removed the version from the description for accuracy and clarity.
  • Improved step names and descriptions throughout the workflow for better readability and localization, replacing generic or block-based IDs with descriptive, emoji-prefixed names. [1] [2] [3] [4] [5]

Workflow Simplification and Cleanup:

  • Consolidated or removed redundant steps, such as merging template resolution and rendering into a single step, and removed unnecessary comments and echo "::group::..." commands to streamline logs and code. [1] [2] [3] [4] [5]
  • Standardized environment variable usage and step outputs for clarity and consistency, e.g., using inputs.template_path directly instead of intermediate variables.

Functional Adjustments:

  • Adjusted logic to improve the handling of sticky comments, including clearer step names and more direct variable passing for comment identification and updating. [1] [2]

These changes collectively make the workflow easier to understand, maintain, and use, especially for users reading logs or customizing the action.