From 7355f9fac2e5041c8d11989fdba64e3012c6ad96 Mon Sep 17 00:00:00 2001 From: Alex Wichmann Date: Tue, 14 Jul 2026 21:31:44 +0200 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> Signed-off-by: Alex Wichmann --- .github/workflows/do_not_merge.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/do_not_merge.yml b/.github/workflows/do_not_merge.yml index 4f420b1..17038fb 100644 --- a/.github/workflows/do_not_merge.yml +++ b/.github/workflows/do_not_merge.yml @@ -4,6 +4,9 @@ on: pull_request: types: [opened, reopened, labeled, unlabeled, synchronize, edited, ready_for_review] +permissions: + contents: read + jobs: block: name: Block if do not merge