Skip to content

GitHub Action to check whether all the assignees on an Issue have commented or not

License

Notifications You must be signed in to change notification settings

mvkaran/check-issue-assignees-commenters

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Check Issue Assignees and Commenters GitHub Action

This GitHub Action looks for an Issue in a repository based on a label, checks whether all the assignees on the Issue have commented or not, and then adds a comment to the Issue.

Usage

- uses: mvkaran/check-issue-assignees-commenters@v1.0.1
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        label: 'bug'
        commentBody: 'Comment text you want to add'

Inputs

token

Your GITHUB_TOKEN or any other token that you want the Action to act on behalf of.

label

The label based on which to search open issues by.
Note: This Action currently returns only the first issue that was found.

commentBody

What comment you want the Action to add, when all assignees have commented on the Issue

Ouputs

allAssigneesHaveCommented

A boolean that returns true if all assignees on an issue have commented, and false otherwise.

Contributing

Contributions are welcome! Feel free to create an Issue or a Pull Request if you come across a bug or have suggestions on improvements.

License

This GitHub Action is licensed under MIT License. For the full text, see the License file in this repository.

About

GitHub Action to check whether all the assignees on an Issue have commented or not

Resources

License

Stars

Watchers

Forks

Packages

No packages published