Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.25 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.25 KB

hide-comment-action ts

This is an action to hide (minimize) comments in a pull request.

screenshot

Getting Started

To run this action:

jobs:
  hide:
    steps:
      - uses: int128/hide-comment-action@v1
        with:
          ends-with: |
            <!-- your-workflow-job -->

This action hides comment(s) which matches to the following filters:

  • The body of comment starts with one of starts-with
  • The body of comment ends with one of ends-with
  • The author of comment is one of authors
  • The comment is not hidden

It hides all comment(s) created by github-actions by default.

It hides comment(s) only if triggered on a pull request event.

Inputs

Name Default Description
starts-with - multi-line string of starts-with filter
ends-with - multi-line string of ends-with filter
authors github-actions multi-line string of author filter
token ${{ github.token }} GitHub token to post a comment