Skip to content

Commit 7eca19c

Browse files
committed
chore: update workflow permissions for updating Node PR
1 parent 815311b commit 7eca19c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/create-node-pr.yml

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ on:
1616
dryRun:
1717
description: "Setting this to anything will run all the steps except opening the PR"
1818

19+
permissions:
20+
contents: write
21+
1922
jobs:
2023
create-pull-request:
2124
name: Create Node PR

scripts/template-oss/create-node-pr-yml.hbs

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
dryRun:
1515
description: "Setting this to anything will run all the steps except opening the PR"
1616

17+
permissions:
18+
contents: write
19+
1720
jobs:
1821
create-pull-request:
1922
{{> jobYml jobName="Create Node PR" jobCheckout=(obj fetch-depth=0) }}

0 commit comments

Comments
 (0)