Skip to content

Commit 8302d2f

Browse files
authored
Add support for rules and MCP Configs to be piped to augment-agent (#6)
1 parent 852f325 commit 8302d2f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ Each example includes a complete workflow file that you can copy to your `.githu
8181
| `repo_name` | The full name (owner/repo) of the repository | Yes | `${{ github.repository }}` |
8282
| `custom_guidelines` | Custom guidelines for PR descriptions (optional) | No | See [Custom Guidelines](#custom-guidelines) section |
8383
| `model` | Optional model to use for generation | No | e.g. `sonnet4`, from `auggie --list-models` |
84+
| `rules` | JSON array of rules file paths forwarded to agent | No | `[".augment/rules.md"]` |
85+
| `mcp_configs` | JSON array of MCP config paths forwarded to agent | No | `[".augment/mcp.md"]` |
8486

8587
## How It Works
8688

action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ inputs:
2424
model:
2525
description: "Optional model to use for generation. Passed directly to augment-agent."
2626
required: false
27+
rules:
28+
description: "Optional JSON array of rules file paths forwarded to augment-agent."
29+
required: false
30+
mcp_configs:
31+
description: "Optional JSON array of MCP config file paths forwarded to augment-agent."
32+
required: false
2733

2834
runs:
2935
using: "composite"
@@ -59,3 +65,5 @@ runs:
5965
repo_name: ${{ inputs.repo_name }}
6066
custom_context: ${{ steps.custom_context.outputs.context }}
6167
model: ${{ inputs.model }}
68+
rules: ${{ inputs.rules }}
69+
mcp_configs: ${{ inputs.mcp_configs }}

0 commit comments

Comments
 (0)