From 79f0a6a6626d70b7151737f62884511146bc13ca Mon Sep 17 00:00:00 2001 From: Dan <8297864+D-K-P@users.noreply.github.com> Date: Mon, 19 May 2025 21:14:26 +0100 Subject: [PATCH] Potential fix for code scanning alert no. 42: Workflow does not contain permissions (#2074) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/unit-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 79d280ce5..74a9f4af1 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -1,5 +1,8 @@ name: "🧪 Unit Tests" +permissions: + contents: read + on: workflow_call: