Skip to content

Commit

Permalink
chore: added issue auto-closer
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 18, 2025
1 parent 55b31a4 commit 3c831c1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/label-non-jdx-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: issue-closer

on:
issues:
types: [opened]

jobs:
label-issue:
runs-on: ubuntu-latest
if: github.actor != 'jdx'

steps:
- run: gh issue close "${{ github.event.issue.number }}" --reason "not planned" -c "issues may only be created by maintainers"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3c831c1

Please sign in to comment.