From d19feeb36b2d40e8b2b17999e47df73673d0562d Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Wed, 28 May 2025 20:16:34 -0500 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/web.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index a08ecf16e..4cb29acb6 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -21,6 +21,10 @@ jobs: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + if: github.event_name == 'pull_request' && github.event.action != 'closed' environment: