{"repo":"int128/hide-comment-action","free":true,"listed":false,"github":"https://github.com/int128/hide-comment-action","clone":"git clone https://github.com/int128/hide-comment-action.git","description":"Action to hide (minimize) comments in pull request","language":"TypeScript","stars":29,"topics":["github-actions"],"license":"Apache-2.0","category":"workflow-automation","readme_excerpt":"hide-comment-action This is an action to hide (minimize) comments in a pull request. Getting Started To hide comments when a pull request is created or updated: It hides all comments created by github-actions user. Filter comments You can set the following conditions: - The author of comment is one of authors - The body of comment starts with one of starts-with - The body of comment ends with one of ends-with - The body of comment contains one of contains This action hides comment(s) which matches to any condition, i.e., evaluated as OR. If no condition is given, this action hides comment(s) created by the user of GitHub token. Example: using ends-with condition When you post a comment, it would be nice to add some marker so that you can hide it in the next build. Here is an example workflow to hide the old comments before test. Specification This action works on pull request event only. It ignores other events. Inputs Name Default Description -------------- --------------------- -------------------------------------------------------------- authors - Author condition (multi-line string) starts-with - Starts-with condition (multi-line string) ends-with - Ends-with condition (multi-line string) contains - Contains condition (multi-line string) issue-number - Number of an issue or pull request on which to hide comment(s) token ${{ github.token }} GitHub token to post a comment Outputs Name Description ------------- --------------------------- starts-with Same as input starts-wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/int128","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/int128/hide-comment-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}