Skip to content

Commit 9a9ecfc

Browse files
authored
feat(npm): use granular token (#2819)
* feat(npm): use granular token * test(ci): fetch with secret manager gha
1 parent ce83e46 commit 9a9ecfc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,23 @@ on:
66
- main
77

88
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
910
jobs:
1011
release:
1112
name: Release
1213
runs-on: ubuntu-latest
1314
permissions: write-all
1415
steps:
16+
- name: Pull Secrets
17+
uses: scaleway/action-scw-secret@v0
18+
with:
19+
secret-names: |
20+
NPM_TOKEN, /npm/token_scaleway_lib
21+
access-key: ${{ vars.SCW_ACCESS_KEY }}
22+
secret-key: ${{ secrets.SCW_SECRET_KEY }}
23+
default-project-id: ${{ vars.SCW_DEFAULT_PROJECT_ID }}
24+
default-organization-id: ${{ vars.SCW_DEFAULT_ORGANIZATION_ID }}
25+
1526
- uses: actions/checkout@v5.0.0
1627
- name: Git Identity
1728
run: |

0 commit comments

Comments
 (0)