File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
1618jobs :
1719 validate-specs :
You can’t perform that action at this time.
0 commit comments