From 1b3e0eacb710ae5939f8eda123de46343ed5250d Mon Sep 17 00:00:00 2001 From: Cindy Hill <110551331+cinderellasecure@users.noreply.github.com> Date: Tue, 4 Nov 2025 14:01:36 -0700 Subject: [PATCH 1/2] Potential fix for code scanning alert no. 12: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ed58a7b6..a690e1cda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,8 @@ on: [push] jobs: build: runs-on: ubuntu-latest + permissions: + contents: read steps: - uses: actions/checkout@v3 From cf00f4372a25e8611858374459fc2c6d24ae1cca Mon Sep 17 00:00:00 2001 From: Cindy Hill <110551331+cinderellasecure@users.noreply.github.com> Date: Tue, 4 Nov 2025 14:01:36 -0700 Subject: [PATCH 2/2] Potential fix for code scanning alert no. 11: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/publish-beta.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.yml index 5a705c99c..efa418f9d 100644 --- a/.github/workflows/publish-beta.yml +++ b/.github/workflows/publish-beta.yml @@ -1,4 +1,6 @@ name: Publish Beta Package to npmjs +permissions: + contents: read on: push: branches: