Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/maheshrayas/action-pr-comment-delete

GitHub Action to delete older PR comments
https://github.com/maheshrayas/action-pr-comment-delete

Last synced: 15 days ago
JSON representation

GitHub Action to delete older PR comments

Awesome Lists containing this project

README

        


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](https://github.com/maheshrayas/action-pr-comment-delete/tree/mac-windows)

## Examples:

```bash
jobs:
clean:
runs-on: ubuntu-latest
steps:
- name: pr-deleter
uses: maheshrayas/[email protected]
with:
github_token: '${{ secrets.GITHUB_TOKEN }}'
org:
repo:
user: 'github-actions[bot]' #commented by the userid
issue: '${{github.event.number}}'
```