Skip to content

Commit 498278c

Browse files
committed
schema-fix
1 parent 8ab1db1 commit 498278c

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/fix-specs.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,20 @@ jobs:
2727
- name: Install CodeMie CLI
2828
run: npm install -g @codemieai/code
2929

30-
- name: Check CodeMie auth status
31-
run: codemie profile status
30+
- name: Check CodeMie auth status and login if needed
31+
run: |
32+
codemie profile status
33+
codemie profile login
3234
3335
- name: Run CodeMie to address the specs validation summary
3436
run: |
35-
codemie profile login
36-
codemie-code --model claude-4-1-opus --task "$(cat ./prompts/fix-specs.md)\n---- VALIDATION SUMMARY START ----\n${{ inputs.summary }}\n---- VALIDATION SUMMARY END ----"
37+
TASK="$(cat ./prompts/fix-specs.md)
38+
39+
---- VALIDATION SUMMARY START ----
40+
${{ inputs.summary }}
41+
---- VALIDATION SUMMARY END ----
42+
"
43+
codemie-code --model claude-4-1-opus --task "$TASK"
3744
echo "There are changes in the following files after the agent run:"
3845
git status
3946

.github/workflows/validate-specs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ on:
66
- "specs/**/*.spec.md"
77
- "packages/validate-specs/**"
88
- ".github/workflows/validate-specs.yml"
9+
- ".github/workflows/fix-specs.yml"
910
push:
1011
branches: [ main ]
1112
paths:
1213
- "specs/**/*.spec.md"
1314
- "packages/validate-specs/**"
1415
- ".github/workflows/validate-specs.yml"
16+
- ".github/workflows/fix-specs.yml"
1517

1618
jobs:
1719
validate-specs:

0 commit comments

Comments
 (0)