.github: restrict workflow permissions

As suggested by CodeQL scanning.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2025-07-10 16:24:34 +02:00
1 parent d30959e909
commit 6c133e85f2
4 files changed
+12

No files matched your search

+3
View File
@@ -7,6 +7,9 @@ on:
- cron: '0 0 * * 0'
workflow_dispatch:
permissions:
contents: read
jobs:
schedule:
runs-on: ubuntu-latest