Skip to content

Commit 88ff2ac

Browse files
committed
Use GitHub App Token
1 parent 6a5c3ea commit 88ff2ac

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/tagpr.yml

+11-6
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@ jobs:
66
deploy:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
10-
with:
11-
fetch-depth: 0
12-
- uses: Songmu/tagpr@main
13-
env:
14-
GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
9+
- uses: actions/create-github-app-token@v1
10+
id: app-token
11+
with:
12+
app-id: ${{ vars.APP_ID }}
13+
private-key: ${{ secrets.PRIVATE_KEY }}
14+
- uses: actions/checkout@v4
15+
with:
16+
token: ${{ steps.app-token.outputs.token }}
17+
- uses: Songmu/tagpr@v1
18+
env:
19+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)