Skip to content

Commit 776bc30

Browse files
committed
fix: add permissions: write to create release action
1 parent 6d8cfef commit 776bc30

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test-and-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Test & Maybe Release
2+
23
on: [push, pull_request]
4+
35
jobs:
46
test:
57
strategy:
@@ -26,6 +28,8 @@ jobs:
2628
npm run test:ci
2729
release:
2830
name: Release
31+
permissions:
32+
contents: write
2933
needs: test
3034
runs-on: ubuntu-latest
3135
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)