- continue-agents.yml: Use env var for agent name in Create Check Run step
(prevents JS template literal breakage with backticks in filenames)
- run-continue-agent.yml: Use jq to construct JSON body instead of
string interpolation (prevents JSON syntax errors when prompt contains
quotes, newlines, backslashes, or other special characters)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The Write job summary step had the same issue - backticks in the agent
output were being interpreted as bash command substitution, causing
'syntax error near unexpected token' failures.
Use environment variables and printf instead of echo to safely handle
all special characters in the output.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The "Update Check Run" step was interpolating step outputs directly into
JavaScript template literals, which breaks when the agent output contains
backticks, template literal interpolation sequences, or other special
characters that interfere with JS string parsing.
This caused failures like "SyntaxError: Unexpected identifier 'mobile'" when
the agent output contained multi-line text with certain keywords.
Fix by passing outputs as environment variables and accessing them via
process.env, which safely handles all string content without parsing issues.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
A reusable GitHub Actions workflow that discovers and runs Continue agent
files from `.continue/agents/` on pull requests.
Usage:
```yaml
name: Run Continue Agents
on:
pull_request:
types: [opened, synchronize]
jobs:
agents:
uses: continuedev/continue/.github/workflows/continue-agents.yml@main
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
```
Features:
- Discovers all .md agent files in .continue/agents/
- Runs each agent in parallel via matrix strategy
- Shows agent output in job logs, job summary, and check runs
- Properly fails jobs when agents fail
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>