From 77f0f180af0f05dd6a6f477497053699dba4105e Mon Sep 17 00:00:00 2001 From: Bill Forney Date: Sat, 14 Jun 2025 02:18:21 -0700 Subject: [PATCH] Potential fix for code scanning alert no. 45: 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 7f530d0..e09e401 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,5 +1,8 @@ name: .NET Continuous Integration +permissions: + contents: read + on: pull_request: branches: [ main ]