Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/izhangzhihao/delete-comment
delete comments from issue/pr by username
https://github.com/izhangzhihao/delete-comment
Last synced: 4 days ago
JSON representation
delete comments from issue/pr by username
- Host: GitHub
- URL: https://github.com/izhangzhihao/delete-comment
- Owner: izhangzhihao
- License: mit
- Created: 2021-02-24T07:41:42.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-26T06:45:20.000Z (7 months ago)
- Last Synced: 2024-10-14T13:03:21.149Z (30 days ago)
- Language: TypeScript
- Homepage:
- Size: 939 KB
- Stars: 8
- Watchers: 3
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Github Action to delete comments by username
Delete-comment Action will delete comments from issues/prs by username. You can either
specify an issue number on which to remove comments or let the action remove all comments
across the repository.## Sample Manually Triggered Workflow
```yaml
name: delete comments from open-collective-bot
on:
workflow_dispatch:
jobs:
delete-comments:
runs-on: ubuntu-latest
steps:
- uses: izhangzhihao/delete-comment@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
delete_user_name: open-collective-bot[bot]
issue_number: ${{ github.event.number }} # remove comments from the current PR
```