From 67b6a8bbb3bda981bb4d6c4ed908e5b0a765dfc5 Mon Sep 17 00:00:00 2001 From: Anthony Pinto Date: Mon, 6 Oct 2025 15:28:09 -0400 Subject: [PATCH 1/3] 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 10ad95b..5071198 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,4 +1,6 @@ name: Pylint +permissions: + contents: read on: [push] From 7a836adf5e81b26a55d2c11e6bc7b64fda9f4b4a Mon Sep 17 00:00:00 2001 From: Anthony Pinto Date: Mon, 6 Oct 2025 15:28:58 -0400 Subject: [PATCH 2/3] Update pylint.yml --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 5071198..2257041 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,7 +1,7 @@ name: Pylint permissions: contents: read - + pull-requests: write on: [push] jobs: From 6a8ff85b3c6223381edaff53d756a43336699c78 Mon Sep 17 00:00:00 2001 From: Anthony Pinto Date: Mon, 6 Oct 2025 16:04:55 -0400 Subject: [PATCH 3/3] Update pylint.yml --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 2257041..3166cff 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.11"] + python-version: ["3.13"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }}