build: be explicit about workflow permissions (#10690)

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2026-05-12 15:36:20 +02:00
committed by GitHub
parent c0c401efeb
commit 08036b1d87
4 changed files with 15 additions and 0 deletions
+6
View File
@@ -9,6 +9,11 @@ on:
workflow_call:
workflow_dispatch:
permissions:
contents: read
issues: read
pull-requests: read
env:
# The go version to use for builds. We set check-latest to true when
# installing, so we get the latest patch version that matches the
@@ -1020,6 +1025,7 @@ jobs:
VERSION: ${{ needs.facts.outputs.version }}
RELEASE_KIND: ${{ needs.facts.outputs.release-kind }}
strategy:
fail-fast: false
matrix:
pkg:
- syncthing