Skip to content

appsembler/hide-comment-action

 
 

Repository files navigation

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

About

GitHub Action to hide (minimize) comments in a pull request. Forked for security reason.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%