Skip to content

Commit

Permalink
chore(ci): Fix permissions for template update
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Oct 23, 2024
1 parent 19e103d commit 6ce7729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ concurrency:

jobs:
update:
permissions:
security-events: write # to create PR
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -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

0 comments on commit 6ce7729

Please sign in to comment.