Skip to content

Commit dec6bc0

Browse files
yshyn-iohkgoncalo-frade-iohk
authored andcommitted
ci: modify the release.yml flow to make the release
Signed-off-by: Yurii Shynbuiev <[email protected]> Signed-off-by: goncalo-frade-iohk <[email protected]> (cherry picked from commit d3597e1)
1 parent 0200db2 commit dec6bc0

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/release.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
name: Release sdk
33

4+
concurrency:
5+
group: release
6+
47
on:
58
workflow_dispatch:
69

@@ -10,7 +13,9 @@ jobs:
1013
ATALA_GITHUB_ACTOR: ${{ github.actor }}
1114
ATALA_GITHUB_TOKEN: ${{ secrets.IDENTUS_CI }}
1215
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
13-
16+
permissions:
17+
contents: write
18+
packages: write
1419
runs-on: ubuntu-latest
1520
steps:
1621
- uses: actions/checkout@v3
@@ -23,19 +28,23 @@ jobs:
2328
with:
2429
node-version: "lts/*"
2530

26-
- uses: crazy-max/ghaction-import-gpg@v5
31+
- uses: crazy-max/ghaction-import-gpg@v6
2732
id: import_gpg
2833
with:
29-
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
34+
gpg_private_key: ${{ secrets.HYP_BOT_GPG_PRIVATE }}
35+
passphrase: ${{ secrets.HYP_BOT_GPG_PASSWORD }}
3036
git_user_signingkey: true
3137
git_commit_gpgsign: true
38+
git_config_global: true
39+
git_tag_gpgsign: false
3240

3341
- name: Release
3442
env:
3543
GIT_AUTHOR_EMAIL: ${{ steps.import_gpg.outputs.email }}
3644
GIT_COMMITTER_EMAIL: ${{ steps.import_gpg.outputs.email }}
3745
GIT_AUTHOR_NAME: ${{ steps.import_gpg.outputs.name }}
3846
GIT_COMMITTER_NAME: ${{ steps.import_gpg.outputs.name }}
47+
GITHUB_TOKEN: ${{ secrets.IDENTUS_CI }}
3948
run: |
4049
npm install
4150
npx semantic-release

0 commit comments

Comments
 (0)