Skip to content

Github action allowing you to delete issues from the repo

License

Notifications You must be signed in to change notification settings

vtcaregorodtcev/delete-issue

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

Repository files navigation

The Github action allowing you to delete issues from the repo

Usage

name: delete opened issue
on:
  issues:
    types: [opened]
jobs:
  delete-issue:
    if: github.event.issue.user.login == 'not_your_name'
    runs-on: ubuntu-latest
    steps:
      - uses: vtcaregorodtcev/delete-issue@main
        with:
          github_token: ${{ secrets.PERSONAL_TOKEN }}
          issue_node_id: ${{ github.event.issue.node_id }}