markupai/Markup AI Content Guardian
Analyze content quality with the Markup AI agents.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 30, 2026
- License
- Apache 2.0
Pinned Snippet
uses: markupai/content-guardian-action@d2b5f4f4ae66a12f5c70ab25a8fa2dae1d3bca91 # v2.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| markup_ai_api_key | Markup AI API key (can also be provided via the MARKUP_AI_API_KEY environment variable). | yes | — |
| style_guide | Style guide to analyze against. Accepts either a style guide (target) ID or the display name of an enabled style guide (case-insensitive). When omitted, the action uses the organization's default style guide (the one flagged `is_default: true` in /style-agent/targets). | no | — |
| paths | Optional whitelist of repo-relative paths to analyze. When set, the discovered file list is intersected with this whitelist; only matching files are sent to the style agent. Accepts comma- or newline-separated values, e.g. `README.md` or a multi-line YAML block listing several paths. Empty means analyze every discovered file (default). | no | — |
| github_token | GitHub token for API access (can also be provided via the GITHUB_TOKEN environment variable). | yes | — |
| add_commit_status | Add commit status updates for push events (default true). | no | true |
| add_review_comments | Add PR review comments for issues (default true). | no | true |
| strict_mode | Fail the action if any file fails analysis (default false). | no | false |
| dry_run | When true, the action performs the full analysis and emits `outputs.results` JSON as usual, but skips every write to GitHub: no PR comments, no inline reviews, no commit status, no job summary. The rendered markdown is logged so the result is observable. Useful for self-testing the action without polluting a PR. | no | false |
Outputs
| name | description |
|---|---|
| event-type | GitHub event type that triggered the action. |
| files-analyzed | Number of files analyzed. |
| results | JSON string containing analysis results. |