Skip to content

Commit

Permalink
fix: ci workflow permissions (#22346)
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Feb 8, 2024
1 parent 32fa585 commit 49214d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.generate.ts
Expand Up @@ -301,6 +301,9 @@ function handleMatrixItems(items: {

const ci = {
name: "ci",
permissions: {
contents: "write",
},
on: {
push: {
branches: ["main"],
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
@@ -1,6 +1,8 @@
# GENERATED BY ./ci.generate.ts -- DO NOT DIRECTLY EDIT

name: ci
permissions:
contents: write
on:
push:
branches:
Expand Down

0 comments on commit 49214d3

Please sign in to comment.