-
Notifications
You must be signed in to change notification settings - Fork 11
Add optional fetch_depth option for shallow clones #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -49,6 +49,10 @@ inputs: | |
| mcp_configs: | ||
| description: "JSON array of MCP config file paths. Each entry is forwarded to auggie as an individual --mcp-config flag." | ||
| required: false | ||
| fetch_depth: | ||
| description: "Number of commits to fetch. Use '0' for full history (default), '1' for shallow clone (latest commit only), or any positive integer for a specific depth." | ||
| required: false | ||
| default: "0" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Critical Issue: Parameter defined but not passed to implementation The To fix this, you need to add the following to the INPUT_FETCH_DEPTH: ${{ inputs.fetch_depth }}However, there's a deeper conceptual issue: this action doesn't perform any git checkout operations. The Recommendation: Remove the |
||
|
|
||
| runs: | ||
| using: "composite" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation Issue: Parameter doesn't belong to this action
This documents
fetch_depthas an input to the Augment Agent action, but this parameter should not be part of this action's interface. Thefetch-depthparameter belongs toactions/checkout@v4, not to this action.The Performance Optimization section (lines 67-82) correctly shows users how to configure
fetch-depthforactions/checkout@v4, which is the right approach. However, this line in the inputs table incorrectly suggests thatfetch_depthis an input to the Augment Agent action itself.Recommendation: Remove this row from the inputs table. The Performance Optimization section already provides clear guidance on using
fetch-depthwith the checkout action.