Skip to content

Commit a7cf983

Browse files
committed
chore(ci): move permissions to root of yml
1 parent 58b47f3 commit a7cf983

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ on:
55
tags:
66
- "*.*.*"
77

8+
permissions:
9+
contents: read
10+
id-token: write
11+
812
jobs:
913
publish:
1014
runs-on: ubuntu-latest
1115

12-
permissions:
13-
contents: read
14-
id-token: write
15-
1616
steps:
1717
- uses: actions/checkout@v5
1818

@@ -27,4 +27,4 @@ jobs:
2727

2828
- run: |
2929
bun install --frozen-lockfile && bun run build
30-
npm publish --provenance --access public
30+
npm publish

0 commit comments

Comments
 (0)