Skip to content

appsembler/hide-comment-action

This branch is 3 commits ahead of, 1004 commits behind int128/hide-comment-action:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

71a1b37 · Jan 21, 2022
Jan 21, 2022
Oct 28, 2021
Aug 7, 2021
Aug 27, 2021
Aug 1, 2021
Aug 1, 2021
Aug 1, 2021
Aug 1, 2021
Aug 1, 2021
Dec 5, 2021
Aug 7, 2021
Aug 1, 2021
Aug 1, 2021
Jan 20, 2022
Aug 1, 2021
Jan 20, 2022

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%