Skip to content

Commit 298c32b

Browse files
committed
Making sure the github bot can write to the project to push new versions.
1 parent 52284bb commit 298c32b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/npm-publish.yml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
release:
88
types: [created]
99

10+
permissions:
11+
contents: write
12+
1013
jobs:
1114
build:
1215
runs-on: ubuntu-latest
@@ -18,6 +21,7 @@ jobs:
1821
fetch-depth: 0
1922
# Force-checkout "main" or whatever branch you want to push changes to
2023
ref: main
24+
persist-credentials: true
2125

2226
- uses: actions/setup-node@v4
2327
with:

0 commit comments

Comments
 (0)