use auto-close-issues action
Some checks are pending
Build / windows (arm64) (push) Waiting to run
Build / windows (ia32) (push) Waiting to run
Build / windows (x64) (push) Waiting to run
Build / windows7 (ia32) (push) Waiting to run
Build / windows7 (x64) (push) Waiting to run
Build / linux (arm64) (push) Waiting to run
Build / linux (x64) (push) Waiting to run
Build / macos (arm64) (push) Waiting to run
Build / macos (x64) (push) Waiting to run
Build / macos10 (arm64) (push) Waiting to run
Build / macos10 (x64) (push) Waiting to run
Build / artifact-windows (push) Blocked by required conditions
Build / artifact-windows7 (push) Blocked by required conditions
Build / artifact-macos (push) Blocked by required conditions
Build / artifact-macos10 (push) Blocked by required conditions
Build / artifact-linux (push) Blocked by required conditions
Build / updater (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-bin) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron-bin) (push) Blocked by required conditions
Build / aur-git-updater (push) Waiting to run
Build / Update WinGet Package (push) Blocked by required conditions
Build / Update Homebrew cask (push) Blocked by required conditions

This commit is contained in:
pompurin404 2024-10-23 20:56:29 +08:00
parent 4cea742bc0
commit acde7a55c4
No known key found for this signature in database

View File

@ -8,18 +8,12 @@ jobs:
close:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Auto Close Issue
uses: mihomo-party-org/auto-close-isssues@main
with:
repository: mihomo-party-org/auto-close-isssues
- uses: actions/setup-go@v5
with:
go-version: '1.23'
- env:
ISSUE_TITLE: ${{ github.event.issue.title }}
ISSUE_BODY: ${{ github.event.issue.body }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
GITHUB_TOKEN: ${{ secrets.POMPURIN404_TOKEN }}
API_URL: ${{ secrets.OPENAI_BASE_URL }}
API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: go run main.go
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 }}