From 3a9ed69e5341a5c0f5b1a524904b8b8d81f2c726 Mon Sep 17 00:00:00 2001 From: Markus Mottl Date: Sat, 27 Sep 2025 20:30:00 -0400 Subject: [PATCH] Potential fix for code scanning alert no. 10: 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-commit.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 83f8a96..0dd11de 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,5 +1,7 @@ --- name: pre-commit +permissions: + contents: read on: push: