Skip to content

Commit 8a35893

Browse files
authored
Add support for rules and MCP configs (#10)
1 parent b98bbee commit 8a35893

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

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 to include in PR reviews | No | See [Custom Guidelines](#custom-guidelines) section |
8383
| `model` | Optional model name to use; passed directly to augment agent | No | e.g. `sonnet4`, from `auggie --list-models` |
84+
| `rules` | JSON array of rule file paths forwarded to augment agent as repeated `--rules` flags | No | `'[".augment/rules.md"]'` |
85+
| `mcp_configs` | JSON array of MCP config file paths forwarded as repeated `--mcp-config` flags | No | `'[".augment/mcp.json"]'` |
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 name to use; passed directly to augmentcode/augment-agent."
2626
required: false
27+
rules:
28+
description: "Optional JSON array of rules file paths to forward as --rules flags to augmentcode/augment-agent."
29+
required: false
30+
mcp_configs:
31+
description: "Optional JSON array of MCP config file paths to forward as --mcp-config flags to augmentcode/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)