Skip to content
delete

GitHub Action

Delete-Issue

v1.0.1 Latest version

Delete-Issue

delete

Delete-Issue

The Github action allowing you to delete issues from the repo

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Delete-Issue

uses: vtcaregorodtcev/delete-issue@v1.0.1

Learn more about this action in vtcaregorodtcev/delete-issue

Choose a version

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 }}