Skip to content

Commit 012be1e

Browse files
committed
Use GitHub App token instead of GITHUB_TOKEN
1 parent dc18fca commit 012be1e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release_indev.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,18 @@ jobs:
2121
- name: Checkout
2222
uses: actions/[email protected]
2323

24+
- name: Create GitHub App token
25+
id: gh-app-token
26+
uses: actions/[email protected]
27+
with:
28+
app-id: ${{ secrets.GH_APP_ID }}
29+
private-key: ${{ secrets.GH_APP_KEY }}
30+
2431
- name: Generate build serial
2532
id: script
2633
uses: actions/[email protected]
2734
with:
35+
github-token: ${{ steps.gh-app-token.outputs.token }}
2836
result-encoding: string
2937
script: |
3038
const script = require("./.github/workflows/script/gen-version.js");

0 commit comments

Comments
 (0)