GitHub - Blast-radar/blastradar-action · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
Blast-radar
blastradar-action
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>3 Commits<br>3 Commits
README.md
README.md
action.yml
action.yml
index.js
index.js
package.json
package.json
View all files
Repository files navigation
⚡ BlastRadar GitHub Action
Automatic production risk scoring for every pull request. Scores your diff 1-10 and blocks merges if risk is too high.
Setup
Add this to .github/workflows/blastradar.yml in your repo:
name: BlastRadar Risk Check<br>on: [pull_request]
jobs:<br>risk-check:<br>runs-on: ubuntu-latest<br>steps:<br>- uses: actions/checkout@v4<br>with:<br>fetch-depth: 2<br>- uses: Blast-radar/blastradar-action@v1<br>with:<br>anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}<br>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.
Inputs
Input<br>Required<br>Default<br>Description
anthropic-api-key<br>Yes<br>Your Anthropic API key
threshold<br>No<br>Risk score that fails the check
Outputs
Output<br>Description
risk-score<br>The risk score (1-10)
verdict<br>One-line summary of the risk
Example output
Try it online
blastradar.vercel.app — paste any diff, get a risk score in 10 seconds.
Feedback
team@blast-radar.com
About
No description, website, or topics provided.
Resources
Readme
Uh oh!
There was an error while loading. Please reload this page.
Activity
Stars
stars
Watchers
watching
Forks
forks
Report repository
Releases
tags
Packages
Uh oh!
There was an error while loading. Please reload this page.
Contributors
Uh oh!
There was an error while loading. Please reload this page.
Languages
JavaScript<br>100.0%
You can’t perform that action at this time.