From 26a5cf7e0e3fac7a0815390e95d93ee1487d45a4 Mon Sep 17 00:00:00 2001 From: Arthur Thompson Date: Fri, 20 Nov 2026 17:04:08 -0800 Subject: [PATCH] chore(ci): use pull_request trigger in pr_title workflow Switch the pr_title workflow from pull_request_target to pull_request, remove the obsolete zizmor ignore comment, and scope permissions to pull-requests: read (the only permission needed by action-semantic-pull-request when wip mode is disabled). --- .github/workflows/pr_title.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml index 216318e6..e24fdbe3 100644 --- a/.github/workflows/pr_title.yml +++ b/.github/workflows/pr_title.yml @@ -1,15 +1,14 @@ name: pr_title on: - # This workflow is safe because it only validates the PR title and does not checkout any code. - pull_request_target: # zizmor: ignore[dangerous-triggers] + pull_request: types: - opened - edited - synchronize permissions: - statuses: write + pull-requests: read env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}