From 275af2f5b4db282c2231ba3da074695e9ffdc941 Mon Sep 17 00:00:00 2001 From: Dmitriy Musatkin <63878209+DmitriyMusatkin@users.noreply.github.com> Date: Fri, 25 Jul 2025 11:48:53 -0700 Subject: [PATCH] Potential fix for code scanning alert no. 2: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/clang-format.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 36388d688..32b2ff116 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -2,6 +2,9 @@ name: Lint on: [push] +permissions: + contents: read + jobs: clang-format: