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

@@ -7,6 +7,9 @@ on:
description: "Commit (e.g., 52f0348)"
default: "master"
permissions:
contents: read
jobs:
release:
name: Release