Skip to content

Delete PR Comments during subsequent CI

Actions
Deletes old/stale pr bot comments
v3.0
Latest
Star (7)

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}}'

Delete PR Comments during subsequent CI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Deletes old/stale pr bot comments
v3.0
Latest

Delete PR Comments during subsequent CI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.