Skip to content

Commit

Permalink
chore(prlint): run linter on pull request reviews (#26494)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
kaizencc committed Jul 25, 2023
1 parent b42dbc8 commit 5eb658b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pr-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

name: PR Linter
on:
# Necessary to have sufficient permissions to write to the PR
pull_request_target:
types:
- labeled
Expand All @@ -12,10 +11,14 @@ on:
- opened
- synchronize
- reopened
pull_request_review:
types:
- submitted
status:

jobs:
validate-pr:
# Necessary to have sufficient permissions to write to the PR
permissions:
contents: read
pull-requests: write
Expand Down

0 comments on commit 5eb658b

Please sign in to comment.