Commit 82b06bc
fix: simplify JSON schema in classify-issue-severity workflow
The previous JSON schema was too complex with allOf conditionals,
which likely caused the claude-code-action to fail.
Changes:
1. Simplified JSON schema - removed allOf, if/then conditions, and
enum constraints
2. Changed claude_args to multi-line format for better readability
and to avoid potential escaping issues
3. Keep only required fields: status and reasoning
4. Make severity and next_steps optional (validated in later step)
The schema now matches the simpler patterns used in claude-code-action
test workflows, which should be more reliable.
Fixes workflow run: https://github.com/coder/coder/actions/runs/20149538756
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 48484af commit 82b06bc
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments