Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/maheshrayas/action-pr-comment-delete
- Owner: maheshrayas
- License: mit
- Created: 2021-08-31T12:47:08.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-01T16:29:52.000Z (5 months ago)
- Last Synced: 2024-10-09T03:16:53.710Z (about 1 month ago)
- Language: Rust
- Homepage:
- Size: 1.71 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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}}'
```