Skip to content

Commit

Permalink
Merge pull request #58 from kyoshidajp/use_github_app_token
Browse files Browse the repository at this point in the history
Use GitHub App Token
  • Loading branch information
kyoshidajp authored Nov 30, 2023
2 parents b994437 + 88ff2ac commit a7e2fff
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/tagpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: Songmu/tagpr@main
env:
GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- uses: Songmu/tagpr@v1
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

0 comments on commit a7e2fff

Please sign in to comment.