From 611dc088bac8d5507ab7040d2cfc948886cce993 Mon Sep 17 00:00:00 2001 From: "George L. Yermulnik" Date: Thu, 9 Oct 2025 14:11:23 +0300 Subject: [PATCH 1/2] ci(action-semantic-pull-request): Fix for PRs from forks --- .github/workflows/pr-title.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 8c76ed8ba..c27afb4ea 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -1,10 +1,11 @@ name: Validate PR title on: - pull_request: + pull_request_target: types: - opened - edited + - reopened - synchronize permissions: From 3191fee1dfe5c4d4cc7c710cb935258254d71b99 Mon Sep 17 00:00:00 2001 From: "George L. Yermulnik" Date: Thu, 9 Oct 2025 14:39:15 +0300 Subject: [PATCH 2/2] Suppress `zizmor`'s error: we do want `pull_request_target` --- .github/workflows/pr-title.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index c27afb4ea..871ed8994 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -1,6 +1,6 @@ name: Validate PR title -on: +on: # zizmor: ignore[dangerous-triggers] pull_request_target: types: - opened