fix alignment #323
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |