File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ name: Fix Specs
33on :
44 push :
55 branches : [ main ]
6+ workflow_call :
7+ inputs :
8+ summary :
9+ required : true
10+ type : string
611
712jobs :
813 fix-specs :
2227
2328 - name : Run codemie-code basic command
2429 run : |
30+ echo ${{ inputs.summary }}
2531 codemie profile login
26- codemie-code --profile default --task "Install concurrently dev dependency in package.json"
32+ codemie-code --model claude-4-1-opus --task "Install concurrently dev dependency in package.json"
2733 git status
Original file line number Diff line number Diff line change 9191 "| \(.spec_id // "global") | \(.rule) | **\(.severity)** | \(.description) |"
9292 ' .specs-validation/result.json >> "$GITHUB_STEP_SUMMARY"
9393
94+ - name : Initiate spec fix pipeline
95+ if : steps.validation.outputs.result == 'INVALID'
96+ uses : ./.github/workflows/fix-specs.yml
97+ with :
98+ summary : $GITHUB_STEP_SUMMARY
99+
94100 - name : Fail pipeline on failed validation
95101 if : steps.validation.outputs.result == 'INVALID'
96102 run : |
You can’t perform that action at this time.
0 commit comments