Potential fix for code scanning alert no. 35: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Gareth
2026-03-11 14:33:55 -07:00
committed by GitHub
parent 17e85d4cf6
commit 1bccb18e6b
+6
View File
@@ -17,6 +17,8 @@ on:
jobs:
goreleaser:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -78,6 +80,8 @@ jobs:
name: Windows installers
needs: [goreleaser]
runs-on: windows-2022
permissions:
contents: write
steps:
- name: Checkout
@@ -161,6 +165,8 @@ jobs:
macos-bundle:
name: macOS app bundle (${{ matrix.goarch }})
runs-on: macos-latest
permissions:
contents: write
strategy:
matrix:
goarch: [amd64, arm64]