From 1c91abbf2df411bcfcb25803fea6ae3b688d5020 Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Tue, 3 Jun 2025 16:06:38 +0200 Subject: [PATCH] Potential fix for code scanning alert no. 2: Workflow does not contain permissions (#416) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/lint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d42d6b6..96182d3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,6 +6,9 @@ on: pull_request: branches: ["main"] +permissions: + contents: read + env: CARGO_TERM_COLOR: always