Skip to content

Commit 63657a7

Browse files
committed
Merge branch 'feat/use-1pass-signed' of github.com:aragon/gov-ui-kit into feat/use-1pass-signed
2 parents 6c1c32f + 3f8cf53 commit 63657a7

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

.changeset/all-turtles-yell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@aragon/gov-ui-kit': patch
3+
---
4+
5+
Update release workflow

.github/workflows/library-release.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99
if: github.ref == 'refs/heads/main'
1010
steps:
11-
- name: Load secrets from OP
12-
id: op-load-secret
11+
- name: Load secrets
12+
id: load-secrets
1313
uses: 1password/load-secrets-action@v2.0.0
1414
with:
1515
export-env: false
@@ -21,15 +21,14 @@ jobs:
2121
- name: Import GPG key
2222
uses: crazy-max/ghaction-import-gpg@v6.3.0
2323
with:
24-
gpg_private_key: ${{ steps.op-load-secret.outputs.GPG_PRIVATE_KEY }}
25-
passphrase: ${{ steps.op-load-secret.outputs.GPG_PASSPHRASE }}
24+
gpg_private_key: ${{ steps.load-secrets.outputs.GPG_PRIVATE_KEY }}
25+
passphrase: ${{ steps.load-secrets.outputs.GPG_PASSPHRASE }}
2626
git_user_signingkey: true
2727
git_commit_gpgsign: true
28-
2928
- name: Setup
3029
uses: aragon/gov-ui-kit/.github/actions/setup@main
3130
with:
32-
token: ${{ steps.op-load-secret.outputs.ARABOT_PAT_TRIGGER_WORKFLOW }}
31+
token: ${{ steps.load-secret.outputs.ARABOT_PAT_TRIGGER_WORKFLOW }}
3332
- name: Update version and changelog
3433
# Run prettier on CHANGELOG.md file (used for Github release notes) to remove automatic formatting applied by
3534
# changeset as Github does not support soft line breaks.
@@ -38,7 +37,7 @@ jobs:
3837
yarn changeset version
3938
yarn prettier --write CHANGELOG.md --print-width 9999999 --ignore-path
4039
env:
41-
GITHUB_TOKEN: ${{ steps.op-load-secret.outputs.ARABOT_PAT_TRIGGER_WORKFLOW }}
40+
GITHUB_TOKEN: ${{ steps.load-secrets.outputs.ARABOT_PAT_TRIGGER_WORKFLOW }}
4241
- name: Create tag
4342
run: yarn changeset tag
4443
- name: Get package version
@@ -65,4 +64,4 @@ jobs:
6564
prerelease: false
6665
tag_name: "v${{ steps.package-version.outputs.current-version}}"
6766
body: ${{ steps.read-changelog.outputs.changes }}
68-
token: ${{ steps.op-load-secret.outputs.ARABOT_PAT_TRIGGER_WORKFLOW }}
67+
token: ${{ steps.load-secrets.outputs.ARABOT_PAT_TRIGGER_WORKFLOW }}

0 commit comments

Comments
 (0)