Skip to content

Commit c268092

Browse files
Update knowledge-test.yml
1 parent 75e02d3 commit c268092

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/knowledge-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,9 @@ jobs:
482482
RISKS_FULL=$(jq -c '.risks // []' change-results.json)
483483
echo "$RISKS_FULL" > /tmp/risks-full.json
484484
485+
HYPOTHESES_FULL=$(jq -c '.hypotheses // []' change-results.json)
486+
echo "$HYPOTHESES_FULL" > /tmp/hypotheses-full.json
487+
485488
echo "risk_count=$RISK_COUNT" >> $GITHUB_OUTPUT
486489
echo "high_risk_count=$HIGH_RISK_COUNT" >> $GITHUB_OUTPUT
487490
echo "medium_risk_count=$MEDIUM_RISK_COUNT" >> $GITHUB_OUTPUT
@@ -528,6 +531,7 @@ jobs:
528531
529532
RISKS_JSON=$(cat /tmp/risks.json 2>/dev/null || echo '[]')
530533
RISKS_FULL=$(cat /tmp/risks-full.json 2>/dev/null || echo '[]')
534+
HYPOTHESES_FULL=$(cat /tmp/hypotheses-full.json 2>/dev/null || echo '[]')
531535
532536
jq -n \
533537
--arg runId "${{ github.run_id }}-${{ matrix.test_id }}" \
@@ -550,6 +554,7 @@ jobs:
550554
--argjson hypotheses "${{ steps.get-results.outputs.hypotheses || 0 }}" \
551555
--argjson risks "$RISKS_JSON" \
552556
--argjson risksFull "$RISKS_FULL" \
557+
--argjson hypothesesFull "$HYPOTHESES_FULL" \
553558
--arg workflowRunUrl "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
554559
'{
555560
runId: $runId,
@@ -568,6 +573,7 @@ jobs:
568573
lowRiskCount: $lowRiskCount,
569574
risks: $risks,
570575
risksFull: $risksFull,
576+
hypothesesFull: $hypothesesFull,
571577
blastRadiusNodes: $blastRadiusNodes,
572578
blastRadiusEdges: $blastRadiusEdges,
573579
observations: $observations,

0 commit comments

Comments
 (0)