Skip to content

Commit edc66ae

Browse files
committed
chore(repo): limit github token permissions in applicable runs
1 parent d9884fc commit edc66ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: PR Title Validation
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [opened, edited, synchronize, reopened]
66
branches: [master]
77

8+
permissions: read-all
9+
810
jobs:
911
validate-pr-title:
1012
name: Validate PR Title

0 commit comments

Comments
 (0)