Skip to content

Commit

Permalink
update environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Oct 23, 2024
1 parent 128c3ab commit 4cea742
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ jobs:
pkgbuild: aur/${{ matrix.pkgname }}/PKGBUILD
commit_username: pompurin404
commit_email: [email protected]
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
Expand All @@ -523,7 +523,7 @@ jobs:
pkgbuild: aur/mihomo-party-git/PKGBUILD
commit_username: pompurin404
commit_email: [email protected]
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
Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4cea742

Please sign in to comment.