chore(ci): restrict token permissions (#7470)

Replace read-all with contents:read and add explicit permissions to
follow principle of least privilege.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
This commit is contained in:
Ville Vesilehto
2025-08-25 23:08:21 +03:00
committed by GitHub
parent 5720d3ca7d
commit 9f7cc58d67
4 changed files with 15 additions and 1 deletions

View File

@@ -4,7 +4,8 @@ on:
schedule:
- cron: '22 10 * * 0'
permissions: read-all
permissions:
contents: read
jobs:
fix: