Automatic production risk scoring for every pull request. Scores your diff 1-10 and blocks merges if risk is too high.
Add this to .github/workflows/blastradar.yml
in your repo:
name: BlastRadar Risk Check
on: [pull_request]
jobs:
risk-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: Blast-radar/blastradar-action@v1
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
threshold: '7'
Then add your Anthropic API key as a repository secret named ANTHROPIC_API_KEY
.
That's it. Every PR now gets automatically scored for production risk.
| Input | Required | Default | Description |
|---|---|---|---|
| anthropic-api-key | Yes | — | Your Anthropic API key |
| threshold | No | 7 | Risk score that fails the check |
| Output | Description |
|---|---|
| risk-score | The risk score (1-10) |
| verdict | One-line summary of the risk |
blastradar.vercel.app — paste any diff, get a risk score in 10 seconds.