| repo | Repository to analyze (default: current repo) | no | ${{ github.repository }} |
| hours | Lookback window in hours (default: 168 for weekly) | no | 168 |
| min-confidence | Minimum confidence threshold for reporting (0-100, default: 50) | no | 50 |
| post-comment | Post diagnosis as a PR comment (true/false, default: false) | no | false |
| create-issue | Create or update a digest issue (true/false, default: false) | no | false |
| issue-label | Label for digest issues (default: c9k-digest) | no | c9k-digest |
| github-token | GitHub token for API access and posting comments | no | ${{ github.token }} |
| version | C9K engine version to download (default: latest) | no | latest |
| include-user-prs | Include CI failures from contributor pull-request branches in the
report. Default false: only main, scheduled, release, and Dependabot
PR failures are analyzed. Contributor PR branches are full of
intentional `wip` failures and would dominate any repo-wide report.
Set to "true" to include them (e.g. for per-PR diagnostics).
| no | false |
| auto-issue | Enable per-root-cause auto-issue mode (true/false, default: false) | no | false |
| auto-issue-min-confidence | Confidence floor (0-100) for opening an auto-issue (default: 90) | no | 90 |
| auto-issue-min-members | Minimum failing jobs in a group to open an auto-issue (default: 2) | no | 2 |
| auto-issue-classes | Comma-separated root-cause classes to file as issues. Defaults to
"CodeChange,BrokenTestRun,DepMajorBump,DepGroupUpdate". Add "FlakyTestRun" if you
also want flaky issues filed (they are still never assigned to
Copilot; combine with `auto-close-flaky` for the recommended workflow).
| no | CodeChange,BrokenTestRun,DepMajorBump,DepGroupUpdate |
| auto-issue-label | Label applied to all c9k auto-issues (default: c9k-auto) | no | c9k-auto |
| assign-copilot | Assign Copilot to commit/broken root-cause issues (true/false, default: false) | no | false |
| auto-close-flaky | Comment-and-close flaky-test groups (Copilot is never assigned to these). Default: true | no | true |
| auto-close-resolved | Auto-close c9k issues when their root cause is no longer detected (default: false) | no | false |
| close-cross-tool-duplicates | Close OPEN issues filed by other automation when they reference the
same failing runs as a c9k root cause. Off by default because other
tools may own those issues.
| no | false |
| auto-issue-no-branch-policy | Disable the branch policy gate. By default, c9k auto-issues are
ONLY created for failures whose branch is one of:
- the repository's default branch (where scheduled runs land),
- a release branch (`release/*`, `release-*`, `v<digit>...`),
- a Dependabot PR branch (`dependabot/*`).
Contributor PR branches and ad-hoc feature branches never produce
issues. Set this to 'true' only for debugging — issuing repo-wide
tickets from contributor branches is almost always wrong.
| no | false |
| auto-issue-dry-run | Print the auto-issue plan to the job summary without making any
changes. Use this on first deployment to assess issue volume before
enabling for real.
| no | false |