Skip to content

Commit 6ce7729

Browse files
committed
chore(ci): Fix permissions for template update
1 parent 19e103d commit 6ce7729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/template.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ concurrency:
2121

2222
jobs:
2323
update:
24+
permissions:
25+
security-events: write # to create PR
2426
steps:
2527
- name: Checkout repository
2628
uses: actions/checkout@v4
@@ -30,5 +32,3 @@ jobs:
3032
run: "git checkout -b template-update && git merge template/${{ env.TEMPLATE_BRANCH }} -m 'chore: Update from template'"
3133
- name: Push
3234
run: "gh pr create -H template-update"
33-
permissions:
34-
security-events: write # to create PR

0 commit comments

Comments
 (0)