From e4012c8c2273173e68ebb89c7972b731052ce26c Mon Sep 17 00:00:00 2001 From: David Engel Date: Fri, 5 Jun 2026 13:53:15 -0700 Subject: [PATCH] Potential fix for code scanning alert no. 76: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/cpp-lint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cpp-lint.yml b/.github/workflows/cpp-lint.yml index 9d03e5be0..ed4a72f3f 100644 --- a/.github/workflows/cpp-lint.yml +++ b/.github/workflows/cpp-lint.yml @@ -10,6 +10,9 @@ on: paths: - 'source/**' +permissions: + contents: read + jobs: cppcheck: name: Cppcheck