From 43bdb5d7c848e9e5799bae2b4a9b9fce5a527bf1 Mon Sep 17 00:00:00 2001 From: htomasz Date: Sun, 21 Jun 2026 18:55:27 +0200 Subject: [PATCH] Potential fix for code scanning alert no. 28: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/python-security.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python-security.yml b/.github/workflows/python-security.yml index 04b4e5f..cf6a40a 100644 --- a/.github/workflows/python-security.yml +++ b/.github/workflows/python-security.yml @@ -2,6 +2,9 @@ name: Python Security Scan on: [push, pull_request,workflow_dispatch] +permissions: + contents: read + jobs: security: runs-on: ubuntu-latest