Skip to content

Fix assignment on editing github issue PR description #250

Fix assignment on editing github issue PR description

Fix assignment on editing github issue PR description #250

name: Delete Unauthorized Issues
on:
issues:
types: [opened]
jobs:
delete-unauthorized-issues:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20.10.0"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Delete Unauthorized Issues
run: npx tsx ./scripts/delete-unauthorized-issues.ts '${{ toJson(github.event.issue) }}'
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
OWNER_REPO: ${{ github.repository }}
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}