Skip to content

Commit 46efa13

Browse files
committed
Add GitHub Actions permissions for release creation
- Add contents: write and packages: write permissions - Required for GitHub CLI release creation to work properly
1 parent 55326ce commit 46efa13

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/release-combined.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ on:
3131
type: boolean
3232
default: false
3333

34+
permissions:
35+
contents: write
36+
packages: write
37+
3438
jobs:
3539
validate:
3640
runs-on: ubuntu-latest

.github/workflows/release-npm.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ on:
1616
type: boolean
1717
default: false
1818

19+
permissions:
20+
contents: write
21+
packages: write
22+
1923
jobs:
2024
release-npm:
2125
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)