Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions examples/github-actions/full-showcase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,18 @@ jobs:
# ───────────────────────────────────────────────────────────────────────
- name: PR Summary
id: summary
run: |
./ckb pr-summary --base=origin/${{ github.base_ref }} --format=json > analysis.json 2>/dev/null || echo '{}' > analysis.json
echo ""
echo "╔═══════════════════════════════════════════════════════════════════════════════╗"
echo "║ INDEXER NOT FOUND ║"
echo "╠═══════════════════════════════════════════════════════════════════════════════╣"
echo "║ Go: go install github.com/sourcegraph/scip-go/cmd/scip-go@latest ║"
echo "║ TypeScript: npm i -g @sourcegraph/scip-typescript ║"
echo "║ Python: pip install scip-python ║"
echo "║ Rust: cargo install scip ║"
echo "╚═══════════════════════════════════════════════════════════════════════════════╝"
echo "::error::Indexing failed - cannot proceed with analysis"
echo "Check /tmp/index.log for details"
exit 1

echo "risk=$(jq -r '.riskAssessment.level // "unknown"' analysis.json)" >> $GITHUB_OUTPUT
echo "score=$(jq -r '.riskAssessment.score // 0' analysis.json)" >> $GITHUB_OUTPUT
Expand Down
Loading