Skip to content

Commit 49214d3

Browse files
authored
fix: ci workflow permissions (#22346)
1 parent 32fa585 commit 49214d3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci.generate.ts

+3
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,9 @@ function handleMatrixItems(items: {
301301

302302
const ci = {
303303
name: "ci",
304+
permissions: {
305+
contents: "write",
306+
},
304307
on: {
305308
push: {
306309
branches: ["main"],

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# GENERATED BY ./ci.generate.ts -- DO NOT DIRECTLY EDIT
22

33
name: ci
4+
permissions:
5+
contents: write
46
on:
57
push:
68
branches:

0 commit comments

Comments
 (0)