File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 1212 types : [created]
1313 pull_request_review_comment :
1414 types : [created]
15+ pull_request :
16+ types : [ready_for_review, opened]
1517
1618permissions :
1719 contents : read
1820
1921jobs :
2022 review :
21- uses : docker/cagent-action/.github/workflows/review-pr.yml@dba0ca51938c78afb363625363c50582243218d6 # v1.3.1
23+ uses : docker/cagent-action/.github/workflows/review-pr.yml@d98096f432f2aea5091c811852c4da804e60623a # v1.4.1
24+ # Scoped to the job so other jobs in this workflow aren't over-permissioned
2225 permissions :
23- contents : read # Read repo files and PR diffs
24- pull-requests : write # Post review comments, approve / request changes
25- issues : write # Create security-incident issues if secrets leak into output
26- checks : write # Show review progress as a check run on the PR
27- secrets :
28- ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
29- CAGENT_ORG_MEMBERSHIP_TOKEN : ${{ secrets.CAGENT_ORG_MEMBERSHIP_TOKEN }}
30- CAGENT_REVIEWER_APP_ID : ${{ secrets.CAGENT_REVIEWER_APP_ID }}
31- CAGENT_REVIEWER_APP_PRIVATE_KEY : ${{ secrets.CAGENT_REVIEWER_APP_PRIVATE_KEY }}
26+ contents : read # Read repository files and PR diffs
27+ pull-requests : write # Post review comments and approve/request changes
28+ issues : write # Create security incident issues if secrets are detected in output
29+ checks : write # (Optional) Show review progress as a check run on the PR
30+ id-token : write # Required for OIDC authentication to AWS Secrets Manager
3231 with :
3332 add-prompt-files : STYLE.md,COMPONENTS.md
3433 additional-prompt : |
You can’t perform that action at this time.
0 commit comments