From 2852929ec39714d6b205f193c5b313f97fe3159d Mon Sep 17 00:00:00 2001 From: Martho Evan Date: Mon, 27 Apr 2026 12:25:58 +0200 Subject: [PATCH] Potential fix for code scanning alert no. 2: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/sonar.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index 13e51f4..3a3f774 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -6,6 +6,8 @@ on: types: [opened, synchronize, reopened] name: Sonar +permissions: + contents: read jobs: sonarqube: runs-on: ubuntu-latest