Skip to content

Commit 3cdb0e2

Browse files
committed
schema-fix
1 parent 9f5b3b8 commit 3cdb0e2

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/fix-specs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Fix Specs
33
on:
44
push:
55
branches: [ main ]
6+
workflow_call:
7+
inputs:
8+
summary:
9+
required: true
10+
type: string
611

712
jobs:
813
fix-specs:
@@ -22,6 +27,7 @@ jobs:
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

.github/workflows/validate-specs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ jobs:
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: |

0 commit comments

Comments
 (0)