Skip to content

Commit 6cdc24b

Browse files
authored
adding owners and collaborators to presubmit.yml
1 parent f35b830 commit 6cdc24b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/presubmit.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ jobs:
3838
github.event_name == 'issue_comment' &&
3939
github.event.issue.pull_request != null &&
4040
contains(github.event.comment.body, '/pr-ai-review') &&
41-
needs.check-membership.outputs.member == 'true'
41+
(
42+
needs.check-membership.outputs.member == 'true' ||
43+
github.event.comment.author_association == 'OWNER' ||
44+
github.event.comment.author_association == 'COLLABORATOR'
45+
)
4246
)
4347
steps:
4448
- name: Check required secrets

0 commit comments

Comments
 (0)