Skip to content

Commit e37c33d

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

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/semantic-release.yml

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

18+
- uses: npalm/app-token-action@v1
19+
id: get-token
20+
with:
21+
appId: "${{ secrets.SEMANTIC_RELEASE_APP_ID }}"
22+
appPrivateKeyBase64: "${{ secrets.SEMANTIC_RELEASE_PRIVATE_KEY_B64 }}"
23+
appInstallationType: org
24+
appInstallationValue: haskell-github-trust
25+
1826
- name: Semantic release
1927
id: semantic
2028
uses: cycjimmy/semantic-release-action@v4
2129
env:
22-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
30+
GH_TOKEN: ${{ steps.get-token.outputs.token }}
2331
HACKAGE_KEY: ${{ secrets.HACKAGE_TOKEN }}
2432

2533
with:

0 commit comments

Comments
 (0)