Skip to content

Commit 3d32b1e

Browse files
committed
ci: use electron/secret-service action
1 parent a0b95e0 commit 3d32b1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ jobs:
1717
environment: npm
1818
permissions:
1919
id-token: write # for publishing releases
20-
contents: write # for making github release
21-
pull-requests: write # for commenting release version
22-
issues: write # for commenting release version
2320
steps:
2421
- name: Checkout
2522
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -31,7 +28,10 @@ jobs:
3128
node-version: '24.x'
3229
- name: Install
3330
run: yarn install --immutable
31+
- name: Get GitHub app token
32+
id: secret-service
33+
uses: electron/secret-service@41b5bb0905f25df732f1808ea1a65719fbe1b15b
3434
- name: Run semantic release
3535
uses: electron/semantic-trusted-release@5eceb399ac8de8863205cf6e34109bce473ba566 # v1.0.1
3636
with:
37-
github-token: ${{ secrets.GITHUB_TOKEN }}
37+
github-token: ${{ fromJSON(steps.secret-service.secrets).GITHUB_TOKEN }}

0 commit comments

Comments
 (0)