From 3dce26a32fbd411d7702c1bf9a11ca3a77bd9ab5 Mon Sep 17 00:00:00 2001 From: Arunim Chaudhary <47343112+arunim2405@users.noreply.github.com> Date: Fri, 2 May 2025 15:51:07 +0530 Subject: [PATCH] Potential fix for code scanning alert no. 18: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/pydosctyle.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pydosctyle.yml b/.github/workflows/pydosctyle.yml index 2e52c31c..67ea89de 100644 --- a/.github/workflows/pydosctyle.yml +++ b/.github/workflows/pydosctyle.yml @@ -2,6 +2,9 @@ name: Lint and Test on: [push, pull_request] +permissions: + contents: read + jobs: lint: runs-on: ubuntu-latest