From 57bb18d54493cc1df09ba0f40cf0984f341e8ecd Mon Sep 17 00:00:00 2001 From: Peter Gill Date: Thu, 19 Mar 2026 10:03:40 -0230 Subject: [PATCH] Potential fix for code scanning alert no. 4: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/dotnet.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 3aa7003..84b07d1 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [main] +permissions: + contents: read + jobs: linux-build: runs-on: ubuntu-latest