ci(release): grant contents:write to the release workflow

The workflow creates a GitHub release and uploads assets, which needs the contents:write token scope. Declaring it per-workflow (matching release-launcher.yml on main) lets the repo keep a read-only default GITHUB_TOKEN.
This commit is contained in:
Alexa
2026-06-16 11:56:17 +03:00
parent ecaf17b764
commit a07360ee3f
+3
View File
@@ -11,6 +11,9 @@ on:
tags:
- 'v1-march-*'
permissions:
contents: write # create the GitHub release + upload assets
jobs:
release:
runs-on: windows-latest