From 9f22865e2d14b6f61b2f1eb120e2df622851acc7 Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Wed, 25 Nov 2026 17:40:49 +0800 Subject: [PATCH] fix: migrate PR title check to pull_request trigger --- .github/workflows/pr-title-check.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index 5331fba5..66dd5ea4 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -1,7 +1,7 @@ name: .Platform - Semantic PR Check on: - pull_request_target: + pull_request: types: - opened - edited @@ -11,6 +11,8 @@ jobs: main: name: Validate PR Title runs-on: ubuntu-latest + permissions: + pull-requests: read steps: - uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 env: