From 6ce7729c84998bed82a016fcdf548e67a5410843 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 23 Oct 2024 08:23:51 -0500 Subject: [PATCH] chore(ci): Fix permissions for template update --- .github/workflows/template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml index 1d929155d08..8b6d5b1158a 100644 --- a/.github/workflows/template.yml +++ b/.github/workflows/template.yml @@ -21,6 +21,8 @@ concurrency: jobs: update: + permissions: + security-events: write # to create PR steps: - name: Checkout repository uses: actions/checkout@v4 @@ -30,5 +32,3 @@ jobs: run: "git checkout -b template-update && git merge template/${{ env.TEMPLATE_BRANCH }} -m 'chore: Update from template'" - name: Push run: "gh pr create -H template-update" - permissions: - security-events: write # to create PR