Skip to content

Commit 7efdc4a

Browse files
authored
fix: grant release publish permissions
1 parent 09a0ec7 commit 7efdc4a

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

.async-pipeline/tasks.lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,5 +223,5 @@
223223
}
224224
],
225225
"hash": "sha256:1c159852638b60608aa39ebb8f1a5841bde1ef8010cabfe7e8c81eac3635f7f3",
226-
"generatedAt": "2026-06-14T10:42:58.847Z"
226+
"generatedAt": "2026-06-14T11:16:50.730Z"
227227
}

.github/async-pipeline.lock.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"generator": "@async/pipeline",
44
"config": "pipeline.ts",
55
"workflow": ".github/workflows/async-pipeline.yml",
6-
"hash": "sha256:3b58070dcce4f40977fb9af6e669173fcb954851eb2be3ec01f3f5a11b086f0e",
7-
"generatedAt": "2026-06-14T10:42:58.822Z",
6+
"hash": "sha256:4aef2ae561d80b5f616aa169c3d277a90c7123166116ff2170d8524b411837d0",
7+
"generatedAt": "2026-06-14T11:16:50.683Z",
88
"triggers": {
99
"pull_request": {},
1010
"push": {
@@ -88,6 +88,7 @@
8888
},
8989
"github": {
9090
"permissions": {
91+
"contents": "write",
9192
"packages": "write"
9293
}
9394
},

.github/workflows/async-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
name: "npm-publish"
142142
url: "https://www.npmjs.com/package/@async/db"
143143
permissions:
144-
contents: read
144+
contents: write
145145
id-token: write
146146
packages: write
147147
steps:

pipeline.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ export default definePipeline({
231231
},
232232
github: {
233233
permissions: {
234+
contents: "write",
234235
packages: "write"
235236
}
236237
}

0 commit comments

Comments
 (0)