From 17f260dbbeb85cb25e2b741a09939581851d9493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20H=C3=A5kansson?= Date: Sun, 30 Nov 2025 14:13:43 +0100 Subject: [PATCH] Potential fix for code scanning alert no. 5: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d9af29..cda21d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,8 @@ on: - 'v*' # Run when tag matches v*, i.e. v1.0, v20.15.10 name: Release +permissions: + contents: read env: RELEASE_BIN: wasm-pack @@ -112,6 +114,8 @@ jobs: release: name: GitHub Release needs: build + permissions: + contents: write runs-on: ubuntu-latest steps: - name: Query version number