From 5ef41a730b5cc9713862ff87b424682b4179091b Mon Sep 17 00:00:00 2001 From: Erik Schultink Date: Fri, 2 Jan 2026 12:39:15 -0500 Subject: [PATCH] Potential fix for code scanning alert no. 8: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/test-java.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-java.yml b/.github/workflows/test-java.yml index bea04a3a..87122948 100644 --- a/.github/workflows/test-java.yml +++ b/.github/workflows/test-java.yml @@ -1,5 +1,7 @@ # test java version of library name: Test Java +permissions: + contents: read on: [push]