GitHub Action
Verify Every PR
Drop Assay into CI/CD. Catches hallucinated bugs before they merge. 2 minutes to set up.
1
Quick Start
Create .github/workflows/assay.yml — Assay verifies every PR automatically.
.github/workflows/assay.yml
name: Assay Verification
on: [pull_request]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gtsbahamas/hallucination-reversing-system/github-action@main
with:
assay_api_key: ${{ secrets.ASSAY_API_KEY }}2
BYOK Mode
Use your Assay API key (recommended) or bring your own Anthropic key.
Assay API Key
- Managed pipeline + dashboard
- Free: 50 verifications/month
Anthropic Key (BYOK)
- Your own Anthropic credits
- No Assay account needed
BYOK step
- uses: gtsbahamas/hallucination-reversing-system/github-action@main
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}3
Configuration
| Input | Description | Default |
|---|---|---|
| assay_api_key | Your Assay API key | — |
| anthropic_api_key | Alternative: your own Anthropic key | — |
| target_dir | Directory to verify | . |
| fail_on | critical | high | any | critical |
.github/workflows/assay.yml
name: Assay Verification
on: [pull_request]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gtsbahamas/hallucination-reversing-system/github-action@main
with:
assay_api_key: ${{ secrets.ASSAY_API_KEY }}
target_dir: ./src
fail_on: high4
What It Reports
Posts a PR comment with verification results and sets a check status based on your fail_on threshold.
assay-botcommented just now
Assay Verification Report
12
Claims
10
Passed
1
Failed
1
Partial
CLAIM-042security
SQL injection in user search endpoint
CLAIM-108edge-case
Empty cart checkout not handled
PR Comment — Claims, verdicts, and fix suggestions posted on the PR.
Check Status — Pass/fail based on your fail_on threshold. Critical-only by default.
Remediation — Each failed claim includes a specific fix suggestion.
5
Getting Your API Key
- 1Sign up at tryassay.ai
- 2Go to Dashboard → API Keys
- 3Copy your key
- 4Add to GitHub: Settings → Secrets → Actions →
ASSAY_API_KEY