From 036b1ca49f9c9a8f43b9d1f2e2869ddcdd34e9e6 Mon Sep 17 00:00:00 2001 From: Scott Olson Jr Date: Sun, 8 Mar 2026 17:34:40 -0700 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/dotnet-check-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dotnet-check-build.yml b/.github/workflows/dotnet-check-build.yml index 015b63f..893d45e 100644 --- a/.github/workflows/dotnet-check-build.yml +++ b/.github/workflows/dotnet-check-build.yml @@ -1,5 +1,7 @@ name: dotnet-check-build run-name: Check .NET Build by ${{ github.actor }} +permissions: + contents: read on: pull_request: