Skip to content

Commit

Permalink
add auto close issues workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Oct 23, 2024
1 parent c4f7861 commit 128c3ab
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Close Issues

on:
issues:
types: [opened]

jobs:
close:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: mihomo-party-org/auto-close-isssues

- uses: actions/setup-go@v5
with:
go-version: '1.23'

- env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
API_URL: ${{ secrets.API_URL }}
API_KEY: ${{ secrets.API_KEY }}
run: go run main.go

0 comments on commit 128c3ab

Please sign in to comment.