From 246eea1c6e78f50b310b22085ba10523f9171f7d Mon Sep 17 00:00:00 2001 From: Andreas Ylivainio <36408195+andreas-valtech@users.noreply.github.com> Date: Thu, 3 Jul 2025 12:53:53 +0200 Subject: [PATCH] Potential fix for code scanning alert no. 1: 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 217f7cb..5e1bb65 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -3,6 +3,9 @@ name: .NET +permissions: + contents: read + on: push: branches: [ "main" ]