aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/cli.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/cli.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml
index b40d99cc..ac4370cb 100644
--- a/.github/workflows/cli.yml
+++ b/.github/workflows/cli.yml
@@ -4,6 +4,11 @@ on:
tags:
# This is a glob pattern not a regex
- 'cli/v[0-9]+.[0-9]+.[0-9]+'
+
+permissions:
+ id-token: write # Required for OIDC
+ contents: read
+
jobs:
build:
runs-on: ubuntu-latest
@@ -19,6 +24,3 @@ jobs:
- run: pnpm publish --access public --no-git-checks
working-directory: apps/cli
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
-