Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 914 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 914 Bytes

typescript-action status

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

name: delete stale comments from pulumi previews
on:
  workflow_dispatch:
jobs:
  delete-comments:
    runs-on: ubuntu-latest
    steps:
      - uses: GetDutchie/[email protected]
        with: 
          github_token: ${{ secrets.DUTCHIE_BOT_TOKEN }}
          delete_user_name: pulumi[bot]
          issue_number: ${{ github.event.number }}  # remove comments from the current PR