Skip to content

Commit 32f8988

Browse files
authored
fix: use oidc trusted publishing (#405)
our old token will stop working soon
1 parent c34fc20 commit 32f8988

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
needs: release
3333
if: ${{needs.release.outputs.releases_created}}
3434
runs-on: ubuntu-latest
35+
permissions:
36+
id-token: write # Required for OIDC
3537
steps:
3638
# The logic below handles the npm publication:
3739
- name: Checkout
@@ -54,5 +56,4 @@ jobs:
5456
5557
- name: Publish
5658
run: pnpm -r publish --access=public
57-
env:
58-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
59+

packages/core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ const AddFile = capability({
3131
});
3232
```
3333

34-
For more details, see the [`ucanto` documentation](https://github.com/storacha/ucanto).
34+
For more details, see the [`ucanto` documentation](https://github.com/storacha/ucanto).

0 commit comments

Comments
 (0)