From 26bcf859908d2e973c1cacf9a524a187b90e551a Mon Sep 17 00:00:00 2001 From: Mardav Wala Date: Thu, 14 Aug 2025 18:46:10 -0400 Subject: [PATCH 1/3] 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/licensed.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 1fd5309..30bf2c5 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -1,3 +1,5 @@ +permissions: + contents: read name: Licensed on: From 946cbf97ec2c6e13e7d9edff131530d914093a5b Mon Sep 17 00:00:00 2001 From: Mardav Wala Date: Thu, 14 Aug 2025 18:50:03 -0400 Subject: [PATCH 2/3] Update .github/workflows/licensed.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/licensed.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 30bf2c5..29e9350 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -1,6 +1,8 @@ permissions: contents: read name: Licensed +permissions: + contents: read on: push: From 95a513fa21c737fdbd18c906942ff43c8ee24f53 Mon Sep 17 00:00:00 2001 From: Mardav Wala Date: Thu, 14 Aug 2025 18:51:32 -0400 Subject: [PATCH 3/3] Update licensed.yml Remove unnecessary permissions declaration. --- .github/workflows/licensed.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 29e9350..3b514e5 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -1,5 +1,3 @@ -permissions: - contents: read name: Licensed permissions: contents: read