Skip to content

Commit 47d052c

Browse files
committed
feat: [ENG-1933] include OWNER in author_association check and enhance PR review prompt.
1 parent d2f361e commit 47d052c

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/claude-code-pr-review.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ permissions:
1717

1818
jobs:
1919
auto-review:
20-
if: ${{ !github.event.pull_request.draft && github.event.pull_request.author_association == 'MEMBER' }}
20+
if: >-
21+
${{
22+
!github.event.pull_request.draft &&
23+
contains(fromJSON('["MEMBER", "OWNER"]'), github.event.pull_request.author_association)
24+
}}
2125
runs-on: ubuntu-latest
2226
timeout-minutes: 10
2327
steps:
@@ -35,5 +39,8 @@ jobs:
3539
prompt: |
3640
REPO: ${{ github.repository }}
3741
PR NUMBER: ${{ github.event.pull_request.number }}
38-
39-
Perform code review. Provide detailed feedback using inline comments for specific issues. Apply Conventional Comments.
42+
43+
Review this PR for correctness, security, and code quality. Use Conventional Comments.
44+
45+
Always provide inline comments for specific issues.
46+
Post a general summary comment with an overall score (0-5, where 0 is poor and 5 is excellent).

0 commit comments

Comments
 (0)