yashjadhav21/AI Guard
Reliability guardrails for AI-generated code — catch async bugs, floating promises, and AI-specific mistakes in Pull Requests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| preset | Rule preset to use: recommended | strict | security | no | recommended |
| fail-on | When to fail CI: high | medium | any | none (default: high-confidence issues only) | no | high |
| changed-only | Scan only files changed in this PR (recommended for CI speed) | no | true |
| path | Directory or file to scan | no | . |
| upload-sarif | Upload SARIF results to GitHub Code Scanning | no | true |
| github-summary | Write a step summary to the GitHub Actions job summary | no | true |
| working-directory | Working directory for the action (useful for monorepos) | no | . |
| package-manager | Package manager to use: auto | npm | pnpm | yarn | no | auto |
| sarif-output | Path to write the SARIF results file | no | ai-guard-results.sarif |
| install-deps | Install project dependencies before scanning | no | true |
Outputs
| name | description |
|---|---|
| issues-found | Total number of issues found |
| high-confidence-count | Number of high-confidence issues found |
| medium-confidence-count | Number of medium-confidence issues found |
| files-scanned | Number of files scanned |
| sarif-file | Path to the generated SARIF file |
| duration-ms | Scan duration in milliseconds |