From 34d3cb28b030be6079d59ddad2ea756512cf3cfe Mon Sep 17 00:00:00 2001 From: aholstrup1 Date: Thu, 12 Feb 2026 13:09:40 +0100 Subject: [PATCH] Security: Switch PullRequestHandler from pull_request_target to pull_request --- .github/AL-Go-Settings.json | 5 +++-- .github/workflows/PullRequestHandler.yaml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/AL-Go-Settings.json b/.github/AL-Go-Settings.json index 984d888..2d2b45b 100644 --- a/.github/AL-Go-Settings.json +++ b/.github/AL-Go-Settings.json @@ -1,4 +1,5 @@ { "type": "AppSource App", - "templateUrl": "https://github.com/microsoft/AL-Go-AppSource@preview" -} + "templateUrl": "https://github.com/microsoft/AL-Go-AppSource@preview", + "PullRequestTrigger": "pull_request" +} \ No newline at end of file diff --git a/.github/workflows/PullRequestHandler.yaml b/.github/workflows/PullRequestHandler.yaml index e2c9378..4cedbb0 100644 --- a/.github/workflows/PullRequestHandler.yaml +++ b/.github/workflows/PullRequestHandler.yaml @@ -1,7 +1,7 @@ name: 'Pull Request Build' on: - pull_request_target: + pull_request: branches: [ 'main' ] concurrency: