mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
add auto close issues workflow
This commit is contained in:
parent
c4f7861870
commit
128c3ababa
23
.github/workflows/issues.yml
vendored
Normal file
23
.github/workflows/issues.yml
vendored
Normal file
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user