Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mulecode/github-action-comment-manager

Github plugin for commenting PR's
https://github.com/mulecode/github-action-comment-manager

actions github

Last synced: about 1 month ago
JSON representation

Github plugin for commenting PR's

Awesome Lists containing this project

README

        

# Comment Manager

GitHub plugin for commenting PR's

## How to use it

with commentBody:

```yaml
test_commenter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mulecode/github-action-comment-manager@main
with:
authToken: ${{ secrets.GITHUB_TOKEN }}
issueNumber: ${{ github.event.pull_request.number }}
commentTitle: "TEST-1234"
commentBody: |
Hello, I am a comment.
Thank you!
```

with commentBody:

```yaml
test_commenter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mulecode/github-action-comment-manager@main
with:
authToken: ${{ secrets.GITHUB_TOKEN }}
issueNumber: ${{ github.event.pull_request.number }}
commentTitle: "TEST-1234"
commentBodyFile: ./file_content.text
```

The commentTitle is used to identify the comment,
if the comment already exists, it will be updated, otherwise it will be created.