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

View File

@ -15,9 +15,11 @@ jobs:
- uses: actions/setup-go@v5 - uses: actions/setup-go@v5
with: with:
go-version: '1.23' go-version: '1.23'
- env: - env:
GITHUB_TOKEN: ${{ secrets.TOKEN }} ISSUE_TITLE: ${{ github.event.issue.title }}
API_URL: ${{ secrets.API_URL }} ISSUE_BODY: ${{ github.event.issue.body }}
API_KEY: ${{ secrets.API_KEY }} 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 run: go run main.go