Skip to content

Commit

Permalink
💚 Github Apps経由でトークンを取得するように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
toriwasa committed Nov 12, 2023
1 parent f8ec2d4 commit 6c99317
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
go-version: '1.21'
- name: Run Go Tests
run: go test -v ./...
- name: Generate GitHub Apps token
id: generate
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
Expand All @@ -26,4 +32,4 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GROUPING_REPOSITORY_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ steps.generate.outputs.token }}

0 comments on commit 6c99317

Please sign in to comment.