Skip to content

Commit 5eb658b

Browse files
authored
chore(prlint): run linter on pull request reviews (#26494)
This is necessary for the new automation that handles community reviews. Thanks @tmokmss! ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent b42dbc8 commit 5eb658b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pr-linter.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
name: PR Linter
55
on:
6-
# Necessary to have sufficient permissions to write to the PR
76
pull_request_target:
87
types:
98
- labeled
@@ -12,10 +11,14 @@ on:
1211
- opened
1312
- synchronize
1413
- reopened
14+
pull_request_review:
15+
types:
16+
- submitted
1517
status:
1618

1719
jobs:
1820
validate-pr:
21+
# Necessary to have sufficient permissions to write to the PR
1922
permissions:
2023
contents: read
2124
pull-requests: write

0 commit comments

Comments
 (0)