update environment variables

This commit is contained in:
pompurin404 2024-10-23 19:27:38 +08:00
parent 128c3ababa
commit 4cea742bc0
No known key found for this signature in database
2 changed files with 16 additions and 14 deletions

View File

@ -501,7 +501,7 @@ jobs:
pkgbuild: aur/${{ matrix.pkgname }}/PKGBUILD
commit_username: pompurin404
commit_email: pompurin404@mihomo.party
ssh_private_key: ${{ secrets.PRIVATE_KEY }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: Update AUR package
ssh_keyscan_types: rsa,ed25519
allow_empty_commits: false
@ -523,7 +523,7 @@ jobs:
pkgbuild: aur/mihomo-party-git/PKGBUILD
commit_username: pompurin404
commit_email: pompurin404@mihomo.party
ssh_private_key: ${{ secrets.PRIVATE_KEY }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: Update AUR package
ssh_keyscan_types: rsa,ed25519
allow_empty_commits: false

View File

@ -8,16 +8,18 @@ jobs:
close:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: mihomo-party-org/auto-close-isssues
- 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
- 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