fix Github Actions permissions

This commit is contained in:
Marco "Capypara" Köpcke 2024-12-11 10:28:04 +01:00
commit a66026194e
No known key found for this signature in database
GPG key ID: 08131EE895D53BDB

View file

@ -6,6 +6,10 @@ on:
# Run this workflow every week at 03:34 am # Run this workflow every week at 03:34 am
- cron: "34 3 */7 * *" - cron: "34 3 */7 * *"
permissions:
contents: write
pull-requests: write
jobs: jobs:
generate: generate:
name: Generate plugin list name: Generate plugin list
@ -29,3 +33,4 @@ jobs:
commit-message: Plugin Updates commit-message: Plugin Updates
branch: plugin-updates branch: plugin-updates
delete-branch: true delete-branch: true
token: ${{ secrets.FLATHUB_GITHUB_TOKEN }}