Skip to content

Commit 3fa67b0

Browse files
committed
ci: post /verify report as a markdown table (score --format md)
1 parent 3c0a592 commit 3fa67b0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/techapi-verify-comment.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ jobs:
5454
{
5555
echo 'report<<VERIFY_EOF'
5656
echo "### Changed records in this PR"
57-
python -m app.verify score --changed --no-cache || echo "(app.verify unavailable on this ref)"
57+
echo ""
58+
python -m app.verify score --changed --no-cache --format md || echo "_app.verify unavailable on this ref._"
5859
echo ""
5960
echo "### Full-dataset baseline"
60-
python -m app.verify score --no-cache || true
61+
echo ""
62+
python -m app.verify score --no-cache --format md || true
6163
echo VERIFY_EOF
6264
} >> "$GITHUB_OUTPUT"
6365
@@ -80,9 +82,7 @@ jobs:
8082
'',
8183
`Requested by @${by} via \`/verify\` · scored by \`app.verify\`, posted by **TechEngineBot**. Informational only — the structural gate (\`app.validate\`) is separate.`,
8284
'',
83-
'```text',
8485
report,
85-
'```',
8686
].join('\n');
8787
const owner = 'GetTechAPI';
8888
const repo = 'TechAPI';

0 commit comments

Comments
 (0)