From 7d5f46a3319580c6bb297008fd5ae9e651eb3d83 Mon Sep 17 00:00:00 2001 From: Luke Walton Date: Thu, 12 Jun 2025 10:30:51 +0100 Subject: [PATCH] Potential fix for code scanning alert no. 3: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/pull-request.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 8648397..5e63953 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -2,6 +2,10 @@ on: pull_request_target: name: CI - Pull Request +permissions: + contents: read + pull-requests: write + actions: write jobs: set-env: