mihomo-party/.github/workflows/issues.yml

19 lines
446 B
YAML
Raw Normal View History

2024-10-23 12:20:33 +08:00
name: Close Issues
on:
issues:
types: [opened]
jobs:
close:
runs-on: ubuntu-latest
steps:
2024-10-23 20:56:29 +08:00
- name: Auto Close Issue
2024-10-24 09:12:27 +08:00
uses: mihomo-party-org/auto-close-issue@main
2024-10-23 19:27:38 +08:00
with:
2024-10-23 20:56:29 +08:00
url: ${{ secrets.OPENAI_BASE_URL }}
key: ${{ secrets.OPENAI_API_KEY }}
prompt: ${{ vars.OPENAI_SYSTEM_PROMPT }}
2024-10-24 09:12:27 +08:00
app_id: ${{ secrets.BOT_APP_ID }}
private_key: ${{ secrets.BOT_PRIVATE_KEY }}