anthropics/claude-code-action
Ver no GitHubFeature Request: Display syntax errors for .claude/setting.json and GitHub Actions workflows
Open
#242 aberto em 10 de jul. de 2025
enhancementgood first issuep3
Métricas do repositório
- Stars
- (7.889 stars)
- Métricas de merge de PR
- (Mesclagem média 18d 20h) (26 fundiu PRs em 30d)
Description
Description
Problem: When running Claude Code Action, syntax errors in configuration files are silently ignored. Users get no error messages, making it hard to debug issues.
Request: Please add syntax error detection and display for:
.claude/setting.json- GitHub Actions workflow syntax (especially in Claude Code Action specific fields)
Examples
GitHub Actions Workflow
Currently no error shown for:
allowed_tools: |
- 'Bash(pnpm install)'
- 'Bash(pnpm test)'
- 'Bash(pnpm build)'
- 'Bash(pnpm lint)'
Expected error message:
Error: Invalid syntax in 'allowed_tools'. Remove hyphens (-) when using pipe (|) notation.
Correct format:
allowed_tools: |
'Bash(pnpm install)'
'Bash(pnpm test)'
.claude/setting.json
Currently no error shown for invalid JSON syntax.
Expected: Clear error messages with line numbers for JSON syntax errors.
Benefits:
- Faster debugging
- Better developer experience
- Prevents silent failures