diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 0000000..3ab510f --- /dev/null +++ b/.github/workflows/issues.yml @@ -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 \ No newline at end of file