Skip to content

Commit e831037

Browse files
committed
ci(pr-title-lint): document pull_request_target safety
Add the security rationale comment (metadata-only; no PR-code checkout; title read via env, not interpolated) matching the repo's other pull_request_target workflows. Addresses review feedback.
1 parent 156858c commit e831037

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/pr-title-lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: PR Title Lint
22

33
on:
4+
# pull_request_target: metadata-only automation — the reusable checks out NO PR
5+
# code and reads the PR title via env (never interpolated), so fork PRs cannot
6+
# execute code or inject via the title. zizmor: ignore[dangerous-triggers]
47
pull_request_target:
58
types: [opened, edited, reopened, synchronize]
69

0 commit comments

Comments
 (0)