Skip to content

Commit

Permalink
Add GitHub App token for creating releases (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
BIwashi authored Mar 22, 2024
1 parent 8f663b8 commit 68bc2d9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/gh-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create temporary access token by GitHub App
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: pipe-cd/[email protected]
with:
release_file: "**/RELEASE"
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ steps.app-token.outputs.token }}
upload-artifacts:
needs: gh-release
runs-on: ubuntu-latest
Expand Down

0 comments on commit 68bc2d9

Please sign in to comment.