Skip to content

mulecode/github-action-comment-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comment Manager

GitHub plugin for commenting PR's

How to use it

with commentBody:

  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:

  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.

About

Github plugin for commenting PR's

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages