Skip to content

feat: enable Claude PR review#280

Merged
crowecawcaw merged 1 commit into
mainlinefrom
feature/enable-claude-pr-review
Jul 9, 2026
Merged

feat: enable Claude PR review#280
crowecawcaw merged 1 commit into
mainlinefrom
feature/enable-claude-pr-review

Conversation

@crowecawcaw

Copy link
Copy Markdown
Contributor

Enables the automated, advisory Claude PR-review integration in this repository, matching what is already enabled across the AWS Deadline Cloud repos (e.g. aws-deadline/deadline-cloud (#1195)).

What this adds

Two thin caller workflows under .github/workflows/:

  • claude_pr_review_collect.yml — Stage 1. Runs on pull_request (opened, synchronize). It does no work and records nothing; it exists only so its completion fires the workflow_run event that starts the review stage. It produces no data the review stage trusts.
  • claude_pr_review.yml — Stage 2. Triggered by the collect workflow's completion via workflow_run, so GitHub runs it from the default branch with this repo's secrets — a fork PR cannot alter the review behavior, permissions, or credential setup. Derives the PR number, head SHA, and base SHA from the server-populated workflow_run payload (which a fork cannot forge).

All the actual review logic — Bedrock authentication, the SHA-pinned action, the restricted read-only tool surface, the read-only PR-head checkout, and per-run turn/token/time limits — lives in the shared reusable workflow at aws-deadline/.github/.github/workflows/reusable_claude_pr_review.yml@mainline. These files are thin callers that forward the workflow_run identifiers and the AWS_CLAUDE_PR_REVIEW_ROLE secret.

Prerequisite

The AWS_CLAUDE_PR_REVIEW_ROLE secret (the OIDC role that can mint a Bedrock bearer token) must be configured for this repository for the review stage to run.

@crowecawcaw
crowecawcaw requested a review from a team as a code owner June 12, 2026 22:09
@crowecawcaw
crowecawcaw force-pushed the feature/enable-claude-pr-review branch from bc7bdc5 to 23312bb Compare June 12, 2026 22:19
@crowecawcaw
crowecawcaw enabled auto-merge (squash) June 25, 2026 22:33
@jericht
jericht force-pushed the feature/enable-claude-pr-review branch from ab9eacf to 6781f77 Compare July 8, 2026 22:02
Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
@epmog
epmog force-pushed the feature/enable-claude-pr-review branch from 6781f77 to ef87a53 Compare July 9, 2026 21:04
@crowecawcaw
crowecawcaw merged commit 9d8f7b8 into mainline Jul 9, 2026
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants