Skip to content

Commit fd05add

Browse files
committed
use trusted publisher config
1 parent 6a7bd2f commit fd05add

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.changeset/moody-tires-hunt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@noxify/gitlab-ci-builder": patch
3+
---
4+
5+
npm trusted publish

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ permissions:
2222
pull-requests: read
2323
checks: write
2424
statuses: write
25+
id-token: write # Required for OIDC
2526

2627
# You can leverage Vercel Remote Caching with Turbo to speed up your builds
2728
# @link https://turborepo.org/docs/core-concepts/remote-caching#remote-caching-on-vercel-builds

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88

99
concurrency: ${{ github.workflow }}-${{ github.ref }}
1010

11+
permissions:
12+
contents: read
13+
id-token: write # Required for OIDC
1114
jobs:
1215
release:
1316
name: Release
@@ -31,4 +34,3 @@ jobs:
3134
publish: pnpm ci:publish
3235
env:
3336
GITHUB_TOKEN: ${{ secrets.CHANGESETS_TOKEN }}
34-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)