← All workflows
Workflow
Codex exec JSONL and GitHub code review checks
Capture machine-readable Codex CLI output safely and verify repository-specific review rules in GitHub.
Sources checked:
What you can do
Check CI output or PR review behavior with a small controlled change.
Keep the CLI event trace, exit status and review instructions independently verifiable.
Build your execution checklist
Inputs are processed in this browser only and cleared when you close or refresh the page.
A CI job should retain a parseable task trace and clear final status.
Read the full steps
Capture Codex exec JSONL in GitHub Actions
A CI job should retain a parseable task trace and clear final status.
- Pin the CLI or Action version you support and scope runner permissions and secrets to the intended trusted context.
- Redirect stdout from codex exec --json to JSONL and stderr to a separate log. Preserve the original process exit status.
- Verify each stdout line parses and record terminal event types. For failure diagnosis, publish a redacted artifact scoped to the intended reviewers.
Test custom rules for Codex GitHub review
You want code review to flag meaningful repository-specific defects.
- Check repository access and Code Review enablement. Add narrow review guidance to AGENTS.md in the scopes you need.
- Make one small test PR with a known benign rule violation and one control change. Request the review by commenting @codex review on the pull request.
- Check that the review cites affected lines, action and severity. Tighten overly broad instructions and rerun on another test PR.
Template preview: review-guidance.md
## Review guidance
For changes under {{Repository path}}, flag {{Defect to catch}} only when the diff introduces a reproducible failure. State affected behavior, file/line and a minimal way to verify the fix.Scope & limits
- Publishing CI runs and PR reviews requires the appropriate repo authorization.
Verified sources
Templates are authored by Kunavo. External product behavior depends on the linked sources and your account settings.