Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 972 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 972 Bytes

action-pr-comment-delete

When a bot or user comments on a Github Pull request, the comments keep getting added for the subsequent push on the same PR. This Github action can be used in Github workflow prior to the GitHub Job which actually comments on the PR.

NOTE: If you want use this action with macOS or Windows Refer v2.0

Examples:

jobs:
  clean:
    runs-on: ubuntu-latest
    steps:
      - name: pr-deleter
        uses: maheshrayas/action-pr-comment-delete@v3.0
        with:
          github_token: '${{ secrets.GITHUB_TOKEN }}'
          org: <orgname>
          repo: <repo>
          user: 'github-actions[bot]' #commented by the userid
          issue: '${{github.event.number}}'