Skip to content

Commit 1a19a1d

Browse files
authoredNov 27, 2024··
Merge pull request #19 from nodejs/add-write-permission
fix: add permissions: write to create release action
2 parents 6d8cfef + 776bc30 commit 1a19a1d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

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

+4
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)
Please sign in to comment.