Skip to content

maheshrayas/action-pr-comment-delete

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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