From 421587ce52248db4960a9c2e82c48223695da292 Mon Sep 17 00:00:00 2001 From: Marc Becker Date: Tue, 14 Oct 2025 11:20:00 +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/maven.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 409c3a0..7fede42 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -2,6 +2,8 @@ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven name: Java CI with Maven +permissions: + contents: read on: pull_request: