Reusable GitHub Actions and workflows for Videra Health repositories.
This repository provides centralized, reusable GitHub workflows that can be used across all Videra Health repositories. Currently includes:
Two AI-powered code assistance workflows using Anthropic's Claude Code:
- Claude Code Review - Automated PR reviews
- Claude Code Assistant - On-demand help via
@claudementions
Automatically reviews pull requests to help human reviewers prioritize their attention.
Features:
- 3-sentence PR summary
- Flags clear bugs (logic errors, typos, type mismatches, race conditions)
- Identifies CLAUDE.md convention violations
- Highlights areas needing human attention
- Uses sticky comments (edits existing comment rather than creating new ones)
- Includes "fix" links for actionable suggestions
- Can create inline comments on specific code lines
Triggers:
- PR opened
- PR synchronized (new commits pushed)
- PR marked ready for review
- PR reopened
On-demand Claude assistance triggered by mentioning @claude in issues or PRs.
Features:
- Responds to custom instructions
- Can read CI results
- Performs tasks based on natural language requests
Triggers:
- Issue comments containing
@claude - PR review comments containing
@claude - PR reviews containing
@claude - New issues with
@claudein title or body
Add the ANTHROPIC_API_KEY secret to your repository:
- Go to your repository's Settings → Secrets and variables → Actions
- Create a new repository secret named
ANTHROPIC_API_KEY - Set the value to your Anthropic API key
Create two workflow files in your repository's .github/workflows/ directory:
name: Claude Code Review
on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
jobs:
review:
uses: videra-health/github-actions/.github/workflows/claude-code-review.yml@main
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}name: Claude Code
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned]
pull_request_review:
types: [submitted]
jobs:
claude:
uses: videra-health/github-actions/.github/workflows/claude.yml@main
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}Once installed, Claude will automatically review PRs when they're opened or updated. Reviews appear as comments on the PR.
Mention @claude in any issue or PR comment with instructions:
@claude Please review the error handling in this PR
@claude Can you explain what this function does?
@claude Update the PR description with a summary of changes
The beauty of reusable workflows is that updates to this repository automatically apply to all repositories using these workflows. To update the workflows across all Videra Health repos, simply:
- Make changes to the workflow files in this repository
- Commit and push to
main - All repositories using these workflows will use the updated version on their next run
To add new reusable workflows to this repository:
- Create a new workflow file in
.github/workflows/ - Use
on: workflow_call:as the trigger - Define any required secrets or inputs
- Update this README with usage instructions
- Commit and push to
main
To modify existing workflows:
- Clone this repository
- Edit the workflow files in
.github/workflows/ - Test in a single repository first
- Once confirmed working, push changes to
main
Internal use only - Videra Health organization.