Skip to content

v6.1.0 Updates the PR comment action to version 6.1.0 and introduces diagnostic steps to improve usability and troubleshooting

Choose a tag to compare

@Malnati Malnati released this 04 Dec 16:31
· 39 commits to main since this release
Immutable release. Only release title and notes can be modified.
037ac15

These changes updates the PR comment action to version 6.1.0 and introduces diagnostic steps to improve usability and troubleshooting. The main changes include enhanced logging for input configuration and token permissions, as well as minor formatting updates to the default comment template.

Action diagnostics and usability improvements:

  • Added a diagnostic step (debug_inputs) that logs the configuration of key inputs (such as sticky mode, template selection, and content blocks) to help users understand and debug the action's behavior.
  • Added a token permission check step (debug_perms) that verifies API connectivity and reminds users of required GitHub token scopes, making it easier to identify permission-related issues.

Version update:

  • Updated the action version from v6.0.1 to v6.1.0 in action.yml.

Template formatting:

  • Changed actor and subject lines in the default template to use smaller headers for improved visual hierarchy.

Comment search logic:

  • Minor clarification in comment search logic for sticky mode, though no functional change was made.This pull request updates the GitHub Action workflow in action.yml to improve diagnostics and usability for posting templated comments on pull requests. The main changes add new diagnostic steps for input validation and token permission checking, making it easier to debug and ensure correct configuration. Additionally, the action version is bumped to include these enhancements.

Diagnostics and Debugging Improvements:

  • Added a new step (debug_inputs) that logs detailed information about input configuration, sticky mode status, template selection, and the presence of optional content blocks, helping users understand how their inputs affect the action's behavior.
  • Added a new step (debug_perms) that checks the GitHub token's connectivity and reminds users of the required permissions, helping diagnose authentication or permission issues before attempting to post comments.

Version and Metadata Update:

  • Updated the action version from v6.0.1 to v6.1.0 in action.yml to reflect the new features and improvements.

Minor Code Comment Correction:

  • Removed an outdated comment regarding the jq command in the step that searches for existing comments, ensuring clarity in the codebase.Updated action version to v6.1.0 and added diagnostic steps for input validation and token permission checks.