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

20 lines
510 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
uses: mihomo-party-org/auto-close-isssues@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 }}
app-id: ${{ secrets.BOT_APP_ID }}
installation-id: ${{ secrets.BOT_INSTALLATION_ID }}
private-key: ${{ secrets.BOT_PRIVATE_KEY }}