File tree Expand file tree Collapse file tree 9 files changed +36
-10
lines changed
Expand file tree Collapse file tree 9 files changed +36
-10
lines changed Original file line number Diff line number Diff line change 11---
22description : Generate a structured bug fix approach
33argument-hint : [bug-description]
4+ model : gpt5
45---
56
67Help me fix this bug: $ARGUMENTS
78
89Please provide:
10+
9111 . Root cause analysis
10122 . Step-by-step fix approach
11133 . Testing strategy
12144 . Prevention measures for similar issues
13-
Original file line number Diff line number Diff line change 11---
22description : Perform a comprehensive code review
33argument-hint : [file-path]
4+ model : gpt5
45---
56
67Please perform a comprehensive code review of the specified file or current changes, focusing on:
@@ -12,4 +13,3 @@ Please perform a comprehensive code review of the specified file or current chan
12135 . Documentation: Check if code is properly documented
1314
1415$ARGUMENTS
15-
Original file line number Diff line number Diff line change 11---
22description : Generate comprehensive documentation
33argument-hint : [file-or-component]
4+ model : gpt5
45---
56
67Generate documentation for: $ARGUMENTS
78
89Include:
10+
9111 . Overview and purpose
10122 . API reference with parameters and return values
11133 . Usage examples with code snippets
@@ -14,4 +16,3 @@ Include:
14166 . Dependencies and requirements
1517
1618Format as clear, structured markdown.
17-
Original file line number Diff line number Diff line change 11---
22description : Analyze and optimize code performance
33argument-hint : [file-path]
4+ model : gpt5
45---
56
67Analyze the performance of: $ARGUMENTS
78
89Please examine:
10+
9111 . Algorithm complexity and efficiency
10122 . Memory usage patterns
11133 . Database queries and optimization opportunities
@@ -14,4 +16,3 @@ Please examine:
14166 . Rendering performance (for frontend code)
1517
1618Suggest specific optimizations with expected impact.
17-
Original file line number Diff line number Diff line change 11---
22description : Perform security analysis on code
33argument-hint : [file-path]
4+ model : gpt5
45---
56
67Perform a security review of: $ARGUMENTS
78
89Focus on:
10+
9111 . Input validation and sanitization
10122 . Authentication and authorization checks
11133 . Data exposure and privacy concerns
@@ -14,4 +16,3 @@ Focus on:
14166 . Dependencies with known vulnerabilities
1517
1618Provide specific recommendations for any issues found.
17-
Original file line number Diff line number Diff line change 11---
22description : Generate comprehensive test cases
33argument-hint : [file-or-module]
4+ model : gpt5
45---
56
67Generate test cases for: $ARGUMENTS
78
89Create tests covering:
10+
9111 . Happy path scenarios
10122 . Edge cases and boundary conditions
11133 . Error handling and exceptions
@@ -14,4 +16,3 @@ Create tests covering:
14166 . Security edge cases
1517
1618Use appropriate testing framework conventions and include setup/teardown as needed.
17-
Original file line number Diff line number Diff line change @@ -16,18 +16,32 @@ jobs:
1616 - name : Checkout
1717 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818
19+ - name : Probe repository for Bun format check
20+ id : probe
21+ shell : bash
22+ run : |
23+ if [ -f bun.lockb ] && [ -f package.json ] && grep -q '"format:check"' package.json; then
24+ echo "run=true" >> "$GITHUB_OUTPUT"
25+ else
26+ echo "run=false" >> "$GITHUB_OUTPUT"
27+ fi
28+
1929 - name : Setup Bun
30+ if : steps.probe.outputs.run == 'true'
2031 uses : oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2
2132 with :
2233 bun-version : latest
2334
2435 - name : Install dependencies
36+ if : steps.probe.outputs.run == 'true'
2537 run : bun install --frozen-lockfile
2638
2739 - name : Check formatting
40+ if : steps.probe.outputs.run == 'true'
2841 run : bun run format:check
2942
3043 - name : Check if files would change
44+ if : steps.probe.outputs.run == 'true'
3145 run : |
3246 if ! git diff --exit-code; then
3347 echo "❌ Files are not properly formatted. Run 'bun run format' to fix."
3650 echo "✅ All files are properly formatted."
3751 fi
3852
53+ - name : Skip - No Bun format check configured
54+ if : steps.probe.outputs.run != 'true'
55+ run : echo "Skipping format check (no bun.lockb and format:check script)."
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: Test Augment Agent Action
22
33on :
44 workflow_dispatch :
5- push :
65
76jobs :
87 test-action :
1110 - name : Checkout
1211 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1312
14- - name : Test Augment Agent
15- uses : ./
13+ - name : Skip if secret not set
14+ if : ${{ !secrets.AUGMENT_SESSION_AUTH }}
15+ run : echo "Skipping: AUGMENT_SESSION_AUTH is not configured in repo secrets."
16+
17+ - name : Test Augment Agent (public action)
18+ if : ${{ secrets.AUGMENT_SESSION_AUTH }}
19+ uses : augmentcode/augment-agent@v1
1620 with :
1721 augment_session_auth : ${{ secrets.AUGMENT_SESSION_AUTH }}
1822 instruction : " Say hello"
19-
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ See example command templates in `.augment/commands/` and the docs page linked a
5656
5757Use our official GitHub Actions to improve PR quality automatically:
5858
59+ - Augment Agent: [ augmentcode/augment-agent] ( https://github.com/augmentcode/augment-agent )
5960- Review PR: [ augmentcode/review-pr] ( https://github.com/augmentcode/review-pr )
6061- Describe PR: [ augmentcode/describe-pr] ( https://github.com/augmentcode/describe-pr )
6162
You can’t perform that action at this time.
0 commit comments