Skip to content

Commit 50d7372

Browse files
committed
move perms into job
1 parent f9754c1 commit 50d7372

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/draft-builder-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,14 @@ on:
1919
- minor
2020
- major
2121

22-
permissions:
23-
contents: write
24-
models: read
25-
2622
jobs:
2723
publish:
2824
if: github.actor != 'github-actions[bot]'
2925
runs-on: ubuntu-latest
3026
permissions:
3127
id-token: write
28+
contents: write
29+
models: read
3230
env:
3331
PACKAGE_PATH: packages/draft_builder
3432
TAG_PREFIX: draft-builder-v

0 commit comments

Comments
 (0)