From bc88408d6f6b95d6a16946f4fa9d12ddcc281050 Mon Sep 17 00:00:00 2001 From: Marlan McInnes-Taylor Date: Fri, 3 Oct 2025 20:12:53 -0500 Subject: [PATCH 1/2] Potential fix for code scanning alert no. 1: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/pylint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 91e0e7c..8dd9d7f 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,4 +1,6 @@ name: Pylint +permissions: + contents: read on: [push] From 825204a858bf5d87300bc1d19c60260fab5276d0 Mon Sep 17 00:00:00 2001 From: Marlan McInnes-Taylor Date: Fri, 3 Oct 2025 20:13:23 -0500 Subject: [PATCH 2/2] 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/docker-image.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 8ee9b1a..986a641 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -4,6 +4,8 @@ # documentation. name: Publish Docker image +permissions: + contents: read on: release: