Skip to content

docs: update README hero image #101

docs: update README hero image

docs: update README hero image #101

# node9 CI Code Review & Fix
#
# Copy this file to .github/workflows/node9-review-fixer.yml in your repo.
# Add two secrets in Settings → Secrets:
# ANTHROPIC_API_KEY — from console.anthropic.com
# NODE9_API_KEY — from node9.ai dashboard
#
# That's it. Every push to a feature branch triggers an AI code review.
# You get one notification in the node9 dashboard. Click Approve & Merge,
# Discard, or Run Again with optional feedback.
name: node9 AI Code Review
on:
push:
branches:
- '**'
- '!main'
- '!master'
- '!node9/**' # Ignore node9's own fix branches
repository_dispatch:
types: [node9-run-again]
jobs:
review:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: write # push fix branch
pull-requests: write # open Draft PR
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure git
run: |
git config user.name "node9[bot]"
git config user.email "bot@node9.ai"
git fetch origin ${{ github.base_ref || 'main' }}
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install project dependencies
run: npm ci --prefer-offline
- uses: node9-ai/node9-pr-agent@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
node9_api_key: ${{ secrets.NODE9_API_KEY }}
node9_api_url: ${{ secrets.NODE9_API_URL || vars.NODE9_API_URL }}
github_token: ${{ secrets.GITHUB_TOKEN }}
test_cmd: 'npm run build 2>&1 && npm test 2>&1'
head_ref: ${{ github.event.client_payload.head_ref || github.head_ref || github.ref_name }}
base_ref: ${{ github.event.client_payload.base_ref || github.base_ref || 'main' }}
iteration: ${{ github.event.client_payload.iteration || '1' }}
feedback: ${{ github.event.client_payload.feedback || '' }}
draft_pr_number: ${{ github.event.client_payload.draft_pr_number || '' }}