mirror of
https://github.com/clap-rs/clap
synced 2024-12-12 13:52:34 +00:00
chore(ci): Fix permissions for template update
This commit is contained in:
parent
19e103d79e
commit
6ce7729c84
1 changed files with 2 additions and 2 deletions
4
.github/workflows/template.yml
vendored
4
.github/workflows/template.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue