From ed0c0d18231d6df41d7b78d04c7a1c9be143efb9 Mon Sep 17 00:00:00 2001 From: Pavel Zorin Date: Thu, 4 Dec 2025 11:39:52 +0100 Subject: [PATCH] Potential fix for code scanning alert no. 407: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/pre_test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pre_test.yml b/.github/workflows/pre_test.yml index 526f5050a..68c925649 100644 --- a/.github/workflows/pre_test.yml +++ b/.github/workflows/pre_test.yml @@ -6,6 +6,8 @@ on: type: string default: '3.11.x' +permissions: + contents: read jobs: check-uv-lock: name: Validate uv lockfile and project metadata