GitHub Pull Requests
Warden runs on pull requests through GitHub Actions and reports findings in Checks. When findings can be tied to the current pull request diff, Warden also posts inline review comments.
This page explains the pull request behavior. Setup lives in Repository Setup, and action inputs live in Workflow.
What Happens on a PR
Section titled “What Happens on a PR”- A pull request is opened or updated.
- GitHub Actions runs the Warden workflow.
- Warden analyzes changed files against configured triggers.
- Findings are reported in Checks. Eligible findings are also posted as inline review comments.
- If
requestChangesis enabled, Warden requests changes when findings exceedfailOn. - If
failCheckis enabled, the check run fails when findings exceedfailOn.
Warden skips PR review feedback when the workflow run is no longer analyzing the current PR head. Non-blocking findings without an inline diff location stay in Checks instead of creating timeline comments that cannot be resolved later.
What Comes From warden.toml
Section titled “What Comes From warden.toml”Pull request behavior is still driven by warden.toml:
| Concern | Where to configure it |
|---|---|
| Which skills run on PRs | Triggers |
| Which files a skill sees | Skill Entries |
| What severity reports or fails | Output and Defaults |
The GitHub workflow decides when the action starts and which credentials it can use. The config decides what Warden does once it is running.