Skip to content

Malnati/pr-comment@v8.0.1

Choose a tag to compare

@Malnati Malnati released this 11 Dec 20:13
· 20 commits to main since this release
Immutable release. Only release title and notes can be modified.
bc4a197

Malnati/pr-comment@v8.0.1 updates the action.yml configuration to simplify and standardize how comment content is handled in the PR Comment Pro GitHub Action. The main change is the removal of support for raw body comments and template variable substitution, making the action always read the comment content directly from a provided Markdown file. This streamlines the input validation and rendering logic, reducing complexity and potential for errors.

Input and Validation Changes:

  • The template_path input is now required and its description clarifies that it should point to a pre-rendered Markdown file; the action no longer supports template variable substitution. (action.yml action.ymlL19-R24)
  • The use_raw_body input is now ignored and only kept for compatibility; all content is always read from the file specified by template_path. (action.yml action.ymlL19-R24)

Logic Simplification:

  • All logic related to handling raw body mode and template variable substitution has been removed. The action now only checks that the file at template_path exists and reads its contents directly. (action.yml [1] [2] [3]

Metadata Updates:

  • The action version has been updated from v8.0.0 to v8.0.1, and the description now reflects the new behavior of reading content from files. (action.yml action.ymlL1-R3)Updated action version and modified input descriptions. Removed deprecated raw body handling and adjusted template path validation.