Repository navigation
·
20 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
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_pathinput 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.ymlaction.ymlL19-R24) - The
use_raw_bodyinput is now ignored and only kept for compatibility; all content is always read from the file specified bytemplate_path. (action.ymlaction.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_pathexists and reads its contents directly. (action.yml[1] [2] [3]
Metadata Updates:
- The action version has been updated from
v8.0.0tov8.0.1, and the description now reflects the new behavior of reading content from files. (action.ymlaction.ymlL1-R3)Updated action version and modified input descriptions. Removed deprecated raw body handling and adjusted template path validation.