Skip to content

Commit cc45e9f

Browse files
authored
Merge pull request #508 from derekmisler/auto/update-cagent-action
chore: update cagent-action to v1.4.1
2 parents 37213f1 + dd5618a commit cc45e9f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/pr-review.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,15 @@ on:
88
types: [ready_for_review, opened]
99

1010
permissions:
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

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

0 commit comments

Comments
 (0)