Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamatama41/hide-pr-comments-action
Hide PR comments by given condition
https://github.com/kamatama41/hide-pr-comments-action
Last synced: 7 days ago
JSON representation
Hide PR comments by given condition
- Host: GitHub
- URL: https://github.com/kamatama41/hide-pr-comments-action
- Owner: kamatama41
- License: mit
- Created: 2020-11-15T11:26:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-06T03:19:58.000Z (about 2 years ago)
- Last Synced: 2023-03-24T06:50:18.722Z (over 1 year ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hide-pr-comments-action
A GitHub action to hide PR comments by given condition
## Example
```yaml
# This action is available only on pull_request event
on: pull_requestjobs:
hide-pr-comments-action:
runs-on: ubuntu-latest
steps:
- name: Hide PR comments
id: action
uses: kamatama41/hide-pr-comments-action@v0
with:
author: my-system-bot # OPTIONAL filter comments by the author
message_regex: "Test result: (OK|NG)" # OPTIONAL filter comments by the regexp
pr_number: 1 # OPTIONAL use this option to apply to specific pull request
```