Skip to content

Commit f742761

Browse files
authored
Merge pull request #24752 from derekmisler/auto/update-cagent-action
chore: update cagent-action to v1.4.1
2 parents 635e5ff + cc70869 commit f742761

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/pr-review.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,22 @@ on:
1212
types: [created]
1313
pull_request_review_comment:
1414
types: [created]
15+
pull_request:
16+
types: [ready_for_review, opened]
1517

1618
permissions:
1719
contents: read
1820

1921
jobs:
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: |

0 commit comments

Comments
 (0)