Skip to content
continuous-actionsPublic

About

Org-wide shared workflows, configs and code

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

continuous-actions shared

Claude review

.github/workflows/claude-review.yml — reusable workflow that has Claude review a PR.

To enable in a repo, add .github/workflows/claude-review.yml:

name: Claude CI
on:
  pull_request:
    types: [opened, ready_for_review, synchronize, review_requested]
concurrency:
  group: claude-review-${{ github.event.pull_request.number }}
  cancel-in-progress: true
jobs:
  review:
    name: claude-review
    if: >-
      github.event.pull_request.head.repo.full_name == github.repository &&
      (github.event.action != 'review_requested' ||
       github.event.requested_team.slug == 'claude-review')
    uses: continuous-actions/shared/.github/workflows/claude-review.yml@<full-commit-sha>
    secrets:
      CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
    permissions:
      actions: read
      contents: read
      pull-requests: write
      issues: write
      id-token: write

Pin <full-commit-sha> to the latest commit of this repo, and give the claude-review team read access to the repo so it appears in the Reviewers list. Requires the org secret CLAUDE_CODE_OAUTH_TOKEN and the Claude GitHub App installed on the repo.

About

Org-wide shared workflows, configs and code

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors