@@ -7,7 +7,7 @@ A GitHub Action for running [cagent](https://github.com/docker/cagent) AI agents
771 . ** Add the action to your workflow** :
88
99 ``` yaml
10- - uses : docker/cagent-action@v1.0.4
10+ - uses : docker/cagent-action@latest
1111 with :
1212 agent : docker/code-analyzer
1313 prompt : " Analyze this code"
@@ -42,7 +42,7 @@ See [security/README.md](security/README.md) for complete security documentation
4242
4343` ` ` yaml
4444- name: Run CAgent
45- uses: docker/cagent-action@v1.0.4
45+ uses: docker/cagent-action@latest
4646 with:
4747 agent: docker/github-action-security-scanner
4848 prompt: "Analyze these commits for security vulnerabilities"
7878
7979 - name : Analyze Changes
8080 id : analysis
81- uses : docker/cagent-action@v1.0.4
81+ uses : docker/cagent-action@latest
8282 with :
8383 agent : docker/code-analyzer
8484 prompt : |
@@ -102,7 +102,7 @@ jobs:
102102
103103` ` ` yaml
104104- name: Run Custom Agent
105- uses: docker/cagent-action@v1.0.4
105+ uses: docker/cagent-action@latest
106106 with:
107107 agent: ./agents/my-agent.yaml
108108 prompt: "Analyze the codebase"
@@ -114,11 +114,11 @@ jobs:
114114
115115` ` ` yaml
116116- name: Run CAgent with Custom Settings
117- uses: docker/cagent-action@v1.0.4
117+ uses: docker/cagent-action@latest
118118 with:
119119 agent: docker/code-analyzer
120120 prompt: "Analyze this codebase"
121- cagent-version: v1.9.11
121+ cagent-version: v1.19.4
122122 mcp-gateway: true # Set to true to install mcp-gateway
123123 mcp-gateway-version: v0.22.0
124124 yolo: false # Require manual approval
@@ -135,7 +135,7 @@ jobs:
135135` ` ` yaml
136136- name: Run CAgent
137137 id: agent
138- uses: docker/cagent-action@v1.0.4
138+ uses: docker/cagent-action@latest
139139 with:
140140 agent: docker/code-analyzer
141141 prompt: "Analyze this codebase"
@@ -163,7 +163,7 @@ jobs:
163163| --------------------- | ------------------------------------------------------------------------------------ | -------- | ------------------------------- |
164164| `agent` | Agent identifier (e.g., `docker/code-analyzer`) or path to `.yaml` file | Yes | - |
165165| `prompt` | Prompt to pass to the agent | No | - |
166- | `cagent-version` | Version of cagent to use | No | `v1.15.6 ` |
166+ | `cagent-version` | Version of cagent to use | No | `v1.19.4 ` |
167167| `mcp-gateway` | Install mcp-gateway (`true`/`false`) | No | `false` |
168168| `mcp-gateway-version` | Version of mcp-gateway to use (specifying this will enable mcp-gateway installation) | No | `v0.22.0` |
169169| `anthropic-api-key` | Anthropic API key | No | `$ANTHROPIC_API_KEY` env var |
@@ -229,15 +229,15 @@ jobs:
229229 - uses: actions/checkout@v4
230230
231231 - name: Security Review
232- uses: docker/cagent-action@v1.0.4
232+ uses: docker/cagent-action@latest
233233 with:
234234 agent: docker/github-action-security-scanner
235235 prompt: "Analyze for security issues"
236236 env:
237237 ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
238238
239239 - name: Code Quality Analysis
240- uses: docker/cagent-action@v1.0.4
240+ uses: docker/cagent-action@latest
241241 with:
242242 agent: docker/code-quality-analyzer
243243 prompt: "Analyze code quality and best practices"
@@ -267,7 +267,7 @@ jobs:
267267 - uses: actions/checkout@v4
268268
269269 - name: Run Agent
270- uses: docker/cagent-action@v1.0.4
270+ uses: docker/cagent-action@latest
271271 with:
272272 agent: ${{ github.event.inputs.agent }}
273273 prompt: ${{ github.event.inputs.prompt }}
0 commit comments