From 722d223002ccfd8a3c38511102de4ed14e3a65a8 Mon Sep 17 00:00:00 2001 From: justinxu421 Date: Wed, 8 Oct 2025 18:58:42 -0700 Subject: [PATCH 1/4] test workflow with node --- action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 5899402..70246b7 100644 --- a/action.yml +++ b/action.yml @@ -39,7 +39,7 @@ runs: using: "composite" steps: - name: Checkout PR Head - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + uses: actions/checkout@d26b0d41bf4021c914eabfa7ba4dc03269578989 # v4.0.0 with: token: ${{ inputs.github_token }} ref: refs/pull/${{ inputs.pull_number }}/head @@ -60,7 +60,8 @@ runs: CUSTOM_GUIDELINES: ${{ inputs.custom_guidelines }} - name: Run Augment Agent - uses: augmentcode/augment-agent@v0 + # Testing PR #9 commit SHA to verify directory structure compatibility + uses: augmentcode/augment-agent@acf657cb99e573ee2ca730b4779e09045e4c8ce5 with: augment_session_auth: ${{ inputs.augment_session_auth }} github_token: ${{ inputs.github_token }} From e87adc576477e83d74ecdf28b209e1081d8ca619 Mon Sep 17 00:00:00 2001 From: Justin Xu Date: Thu, 9 Oct 2025 03:53:16 +0000 Subject: [PATCH 2/4] prettier --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 019624f..abb4387 100644 --- a/README.md +++ b/README.md @@ -73,17 +73,17 @@ Each example includes a complete workflow file that you can copy to your `.githu ## Inputs -| Input | Description | Required | Example | -| ---------------------- | ------------------------------------------------------------------------------------------ | -------- | --------------------------------------------------- | -| `augment_session_auth` | Augment session authentication JSON containing accessToken and tenantURL (store as secret) | Yes | `${{ secrets.AUGMENT_SESSION_AUTH }}` | -| `github_token` | GitHub token with `repo` scopes | Yes | `${{ secrets.GITHUB_TOKEN }}` | -| `pull_number` | The number of the pull request being reviewed | Yes | `${{ github.event.pull_request.number }}` | -| `repo_name` | The full name (owner/repo) of the repository | Yes | `${{ github.repository }}` | -| `custom_guidelines` | Custom guidelines to include in PR reviews | No | See [Custom Guidelines](#custom-guidelines) section | -| `model` | Optional model name to use; passed directly to augment agent | No | e.g. `sonnet4`, from `auggie --list-models` | -| `rules` | JSON array of rule file paths forwarded to augment agent as repeated `--rules` flags | No | `'[".augment/rules.md"]'` | -| `mcp_configs` | JSON array of MCP config file paths forwarded as repeated `--mcp-config` flags | No | `'[".augment/mcp.json"]'` | -| `fetch_depth` | Number of commits to fetch. Use `0` for full history (default), `1` for shallow clone, or any positive integer for specific depth | No | `1` (shallow), `50` (last 50 commits), `0` (full) | +| Input | Description | Required | Example | +| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------- | --------------------------------------------------- | +| `augment_session_auth` | Augment session authentication JSON containing accessToken and tenantURL (store as secret) | Yes | `${{ secrets.AUGMENT_SESSION_AUTH }}` | +| `github_token` | GitHub token with `repo` scopes | Yes | `${{ secrets.GITHUB_TOKEN }}` | +| `pull_number` | The number of the pull request being reviewed | Yes | `${{ github.event.pull_request.number }}` | +| `repo_name` | The full name (owner/repo) of the repository | Yes | `${{ github.repository }}` | +| `custom_guidelines` | Custom guidelines to include in PR reviews | No | See [Custom Guidelines](#custom-guidelines) section | +| `model` | Optional model name to use; passed directly to augment agent | No | e.g. `sonnet4`, from `auggie --list-models` | +| `rules` | JSON array of rule file paths forwarded to augment agent as repeated `--rules` flags | No | `'[".augment/rules.md"]'` | +| `mcp_configs` | JSON array of MCP config file paths forwarded as repeated `--mcp-config` flags | No | `'[".augment/mcp.json"]'` | +| `fetch_depth` | Number of commits to fetch. Use `0` for full history (default), `1` for shallow clone, or any positive integer for specific depth | No | `1` (shallow), `50` (last 50 commits), `0` (full) | ## How It Works From d3a913c5ba0de2788196e34281452c727e1d4214 Mon Sep 17 00:00:00 2001 From: Justin Xu Date: Thu, 9 Oct 2025 03:57:31 +0000 Subject: [PATCH 3/4] commit From 17bdd5c5d4a508511deaa25ed55ca4e63cfae474 Mon Sep 17 00:00:00 2001 From: Justin Xu Date: Thu, 9 Oct 2025 04:01:14 +0000 Subject: [PATCH 4/4] fix commit sha --- action.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 70246b7..e7cea55 100644 --- a/action.yml +++ b/action.yml @@ -39,7 +39,7 @@ runs: using: "composite" steps: - name: Checkout PR Head - uses: actions/checkout@d26b0d41bf4021c914eabfa7ba4dc03269578989 # v4.0.0 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 with: token: ${{ inputs.github_token }} ref: refs/pull/${{ inputs.pull_number }}/head @@ -60,8 +60,7 @@ runs: CUSTOM_GUIDELINES: ${{ inputs.custom_guidelines }} - name: Run Augment Agent - # Testing PR #9 commit SHA to verify directory structure compatibility - uses: augmentcode/augment-agent@acf657cb99e573ee2ca730b4779e09045e4c8ce5 + uses: augmentcode/augment-agent@d26b0d41bf4021c914eabfa7ba4dc03269578989 with: augment_session_auth: ${{ inputs.augment_session_auth }} github_token: ${{ inputs.github_token }}