Skip to content

Interesting, I guess no message should have been posted. #260

Interesting, I guess no message should have been posted.

Interesting, I guess no message should have been posted. #260

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