Skip to content

Commit 14fef7b

Browse files
committed
Update AI specs validation workflow to use new command structure
- Modified `validate-specs-with-ai.yml` to utilize the `--filter @pace/validate-specs` command for both changed and all spec file validations. - Ensured consistent command usage for improved clarity and maintainability in the validation process.
1 parent 386adae commit 14fef7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/validate-specs-with-ai.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ jobs:
8585
8686
if [ "${{ steps.changed-specs.outputs.has_changed_specs }}" = "true" ]; then
8787
echo "Validating only changed spec files..."
88-
bun run validate-specs:ai -- --specFilePaths "${{ steps.changed-specs.outputs.spec_paths }}" --systemPrompt $(pwd)/prompts/validate-specs.system.md --userPrompt $(pwd)/prompts/validate-specs.user.md > .specs-validation/ai/result.json
88+
bun run --filter @pace/validate-specs validate-specs-with-ai -- --specFilePaths "${{ steps.changed-specs.outputs.spec_paths }}" --systemPrompt $(pwd)/prompts/validate-specs.system.md --userPrompt $(pwd)/prompts/validate-specs.user.md > .specs-validation/ai/result.json
8989
else
9090
echo "No changed spec files detected, validating all specs..."
91-
bun run validate-specs:ai -- --rootDir $(pwd) --systemPrompt $(pwd)/prompts/validate-specs.system.md --userPrompt $(pwd)/prompts/validate-specs.user.md > .specs-validation/ai/result.json
91+
bun run --filter @pace/validate-specs validate-specs-with-ai -- --rootDir $(pwd) --systemPrompt $(pwd)/prompts/validate-specs.system.md --userPrompt $(pwd)/prompts/validate-specs.user.md > .specs-validation/ai/result.json
9292
fi
9393
9494
- name: Expose validation result JSON (as base64)

0 commit comments

Comments
 (0)