File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 88 types : [ready_for_review, opened]
99
1010permissions :
11- contents : read # Required at top level so `GITHUB_TOKEN` for `issue_comment` events can read repository contents.
11+ contents : read # Required at top- level so `issue_comment` events can read repository contents.
1212
1313jobs :
1414 review :
15- uses : docker/cagent-action/.github/workflows/review-pr.yml@b4ccf4cc94f5b34d1760709012c40975f6def2d1 # v1.3.2
15+ uses : docker/cagent-action/.github/workflows/review-pr.yml@d98096f432f2aea5091c811852c4da804e60623a # v1.4.1
1616 # Scoped to the job so other jobs in this workflow aren't over-permissioned
1717 permissions :
18- contents : read # Required for issue_comment events to read repository files and PR diffs
18+ contents : read # Read repository files and PR diffs
1919 pull-requests : write # Post review comments and approve/request changes
2020 issues : write # Create security incident issues if secrets are detected in output
2121 checks : write # (Optional) Show review progress as a check run on the PR
22- secrets :
23- ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
24- CAGENT_ORG_MEMBERSHIP_TOKEN : ${{ secrets.CAGENT_ORG_MEMBERSHIP_TOKEN }} # PAT with read:org scope; gates auto-reviews to org members only
25- CAGENT_REVIEWER_APP_ID : ${{ secrets.CAGENT_REVIEWER_APP_ID }} # GitHub App ID; reviews appear as your app instead of github-actions[bot]
26- CAGENT_REVIEWER_APP_PRIVATE_KEY : ${{ secrets.CAGENT_REVIEWER_APP_PRIVATE_KEY }} # GitHub App private key; paired with App ID above
22+ id-token : write # Required for OIDC authentication to AWS Secrets Manager
You can’t perform that action at this time.
0 commit comments