Skip to content

Commit 7821196

Browse files
committed
ci: add read contents permission
1 parent 3a1f194 commit 7821196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
if: ${{ github.repository_owner == 'nuxt' }}
1919
permissions:
2020
id-token: write
21+
contents: read
2122
steps:
2223
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2324
- run: corepack enable
@@ -34,7 +35,6 @@ jobs:
3435
run: pnpm dev:prepare
3536

3637
- name: 📦 release pkg.pr.new
37-
if: github.event_name != 'push'
3838
run: pnpm pkg-pr-new publish --compact
3939

4040
- name: 📦 release nightly

0 commit comments

Comments
 (0)