Skip to content

Commit 115ae2a

Browse files
committed
ci: convert semantic-release to org setup
1 parent 398803c commit 115ae2a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/semantic-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,17 @@ jobs:
1515
with:
1616
persist-credentials: false
1717

18+
- uses: actions/create-github-app-token@v2
19+
id: app-token
20+
with:
21+
app-id: "${{ secrets.SEMANTIC_RELEASE_APP_ID }}"
22+
private-key: "${{ secrets.SEMANTIC_RELEASE_PRIVATE_KEY }}"
23+
1824
- name: Semantic release
1925
id: semantic
2026
uses: cycjimmy/semantic-release-action@v4
2127
env:
22-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
28+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
2329
HACKAGE_KEY: ${{ secrets.HACKAGE_TOKEN }}
2430

2531
with:

0 commit comments

Comments
 (0)