From afc87722c3558197b1a5d3a9dc1981624a8375ff Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Wed, 28 May 2025 20:14:04 -0500 Subject: [PATCH] Potential fix for code scanning alert no. 5: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/web.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 8fa2a56e4..a08ecf16e 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -120,6 +120,9 @@ jobs: runs-on: ubuntu-latest + permissions: + contents: read + if: github.event_name == 'pull_request' && github.event.action == 'closed' steps: