Skip to content

Commit 9b373c3

Browse files
committed
fix(ci): use pull_request_target for PR title validation
1 parent 927a586 commit 9b373c3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/pr-validate.yml renamed to .github/workflows/validate-pr-title.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
name: "Validate PR"
1+
name: "Validate PR title"
22

33
on:
4-
pull_request:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
- reopened
510

611
permissions:
712
pull-requests: read

0 commit comments

Comments
 (0)