mirror of
https://github.com/denoland/deno.git
synced 2025-02-08 15:21:26 -05:00
fix: ci workflow permissions (#22346)
This commit is contained in:
parent
32fa58564e
commit
49214d309f
2 changed files with 5 additions and 0 deletions
3
.github/workflows/ci.generate.ts
vendored
3
.github/workflows/ci.generate.ts
vendored
|
@ -301,6 +301,9 @@ function handleMatrixItems(items: {
|
||||||
|
|
||||||
const ci = {
|
const ci = {
|
||||||
name: "ci",
|
name: "ci",
|
||||||
|
permissions: {
|
||||||
|
contents: "write",
|
||||||
|
},
|
||||||
on: {
|
on: {
|
||||||
push: {
|
push: {
|
||||||
branches: ["main"],
|
branches: ["main"],
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -1,6 +1,8 @@
|
||||||
# GENERATED BY ./ci.generate.ts -- DO NOT DIRECTLY EDIT
|
# GENERATED BY ./ci.generate.ts -- DO NOT DIRECTLY EDIT
|
||||||
|
|
||||||
name: ci
|
name: ci
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|
Loading…
Add table
Reference in a new issue