From 4d89efeb6e17d8266ff42d3cd778e432ecea6c0d Mon Sep 17 00:00:00 2001 From: Vishnu Santhosh Date: Fri, 3 Jul 2026 14:25:43 +0530 Subject: [PATCH] ci: Replace pull_request_target with pull_request in PR workflow pull_request_target grants write access from fork context which fails the QC preflight security check. Use pull_request instead. Signed-off-by: Vishnu Santhosh --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index ae18d59..32af06b 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -1,6 +1,6 @@ name: Prevent pull request to main on: - pull_request_target: + pull_request: types: - opened - reopened