chore(ci): Fix permissions for template update

This commit is contained in:
Ed Page 2024-10-23 08:23:51 -05:00
parent 19e103d79e
commit 6ce7729c84

View file

@ -21,6 +21,8 @@ concurrency:
jobs: jobs:
update: update:
permissions:
security-events: write # to create PR
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 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'" run: "git checkout -b template-update && git merge template/${{ env.TEMPLATE_BRANCH }} -m 'chore: Update from template'"
- name: Push - name: Push
run: "gh pr create -H template-update" run: "gh pr create -H template-update"
permissions:
security-events: write # to create PR