GitHub Action
Delete-Issue
v1.0.1
Latest version
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 }}