sjh9714/Agent Gate for AI PRs
Checkout-free policy gate for AI-generated pull requests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| config | Optional path to agent-gate.yml on the base branch; built-in defaults are used when the default path is confirmed missing | no | agent-gate.yml |
| github-token | GitHub token used for API-only pull request reads | no | ${{ github.token }} |
| mode | Override config mode: observe, warn, or block | no | — |
| comment | Post or update a PR comment with the report | no | false |
| fail-on-block | Exit with code 1 for complete block decisions; incomplete analysis always fails | no | true |
| report-json | Path to write JSON report | no | agent-gate-report.json |
| report-markdown | Path to write Markdown report | no | agent-gate-report.md |
Outputs
| name | description |
|---|---|
| decision | pass, warn, or block |
| status | passed, observed, needs-review, blocked, or incomplete |
| analysis-complete | Whether Agent Gate received all evidence required for deterministic analysis |
| error-count | Number of active error findings |
| warning-count | Number of active warning findings |
| info-count | Number of active informational findings |
| waived-count | Number of findings covered by active base-policy waivers |
| expected-file-count | Authoritative pull request changed_files count |
| analyzed-file-count | Number of changed files included in deterministic analysis |
| risk-score | Deprecated compatibility score; use status and finding counts |
| report-json | Path to JSON report |
| report-markdown | Path to Markdown report |