From c1617e73b57250dcf894a895be0b83c2803384a9 Mon Sep 17 00:00:00 2001 From: Simon Davies Date: Wed, 3 Jun 2026 21:50:17 +0100 Subject: [PATCH] Potential fix for code scanning alert no. 9: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2268ae4..1379824 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,6 +13,8 @@ jobs: validate: name: Validate version runs-on: ubuntu-latest + permissions: + contents: read steps: - uses: actions/checkout@v6 - name: Check version matches tag