From bebf4e461f2d7c6c2ca9ecfc9a553ca76f240e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jegors=20=C4=8Cemisovs?= Date: Thu, 3 Sep 2026 20:25:58 +0300 Subject: [PATCH] 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/enforce-pr-policy.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/enforce-pr-policy.yaml b/.github/workflows/enforce-pr-policy.yaml index 2aac365..147cee2 100644 --- a/.github/workflows/enforce-pr-policy.yaml +++ b/.github/workflows/enforce-pr-policy.yaml @@ -4,6 +4,9 @@ on: pull_request: types: [opened, edited, synchronize, reopened] +permissions: + contents: read + jobs: validate: runs-on: ubuntu-latest