From 79d7f95deb9d2b38ef2725bf0dae0173d9ad014a Mon Sep 17 00:00:00 2001 From: Johan Broberg Date: Wed, 19 Nov 2025 08:49:24 -0800 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/ci-dotnet-semantickernel-sampleagent.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-dotnet-semantickernel-sampleagent.yml b/.github/workflows/ci-dotnet-semantickernel-sampleagent.yml index a33df0b5..c9c4834d 100644 --- a/.github/workflows/ci-dotnet-semantickernel-sampleagent.yml +++ b/.github/workflows/ci-dotnet-semantickernel-sampleagent.yml @@ -1,4 +1,6 @@ name: CI - Build .NET Semantic Kernel Sample Agent +permissions: + contents: read on: push: