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

@ -8,16 +8,18 @@ jobs:
close: close:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
repository: mihomo-party-org/auto-close-isssues repository: mihomo-party-org/auto-close-isssues
- uses: actions/setup-go@v5 - uses: actions/setup-go@v5
with: with:
go-version: '1.23' go-version: '1.23'
- env:
- env: ISSUE_TITLE: ${{ github.event.issue.title }}
GITHUB_TOKEN: ${{ secrets.TOKEN }} ISSUE_BODY: ${{ github.event.issue.body }}
API_URL: ${{ secrets.API_URL }} ISSUE_NUMBER: ${{ github.event.issue.number }}
API_KEY: ${{ secrets.API_KEY }} GITHUB_TOKEN: ${{ secrets.POMPURIN404_TOKEN }}
run: go run main.go API_URL: ${{ secrets.OPENAI_BASE_URL }}
API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: go run main.go