Skip to content

Commit 0a78e1b

Browse files
committed
fix(actions): Try new way
Signed-off-by: Joas Schilling <[email protected]>
1 parent 9aaf32e commit 0a78e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sync-workflow-templates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
permissions:
3030
contents: write
3131
pull-requests: write
32-
workflows: write
3332

3433
steps:
3534
- name: Check actor permission
@@ -47,7 +46,7 @@ jobs:
4746
- name: Checkout app
4847
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4948
with:
50-
persist-credentials: true
49+
persist-credentials: false
5150
path: target
5251
ref: ${{ matrix.branches }}
5352

@@ -104,6 +103,7 @@ jobs:
104103
- name: Create Pull Request
105104
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
106105
with:
106+
token: ${{ secrets.COMMAND_BOT_WORKFLOWS }}
107107
commit-message: 'ci(actions): Update workflow templates from organization template repository'
108108
committer: GitHub <[email protected]>
109109
author: nextcloud-command <[email protected]>

0 commit comments

Comments
 (0)