@@ -182,6 +182,12 @@ jobs:
182182 continue-on-error : true
183183 env :
184184 HELIOS_REPO_SECRET : ${{ secrets.HELIOS_REPO_SECRET }}
185+ INPUT_RELEVANT_TESTS : ${{ needs.determine-tests.outputs.relevant_tests }}
186+ INPUT_REMAINING_TESTS : ${{ needs.determine-tests.outputs.remaining_tests }}
187+ INPUT_DETAILS : ${{ steps.format-results.outputs.details }}
188+ INPUT_FAILURES_SECTION : ${{ steps.format-results.outputs.failures-section }}
189+ INPUT_REPORTER_NOTE : ${{ steps.format-results.outputs.reporter-note }}
190+ INPUT_INFRA_NOTE : ${{ steps.format-results.outputs.infra-note }}
185191 with :
186192 script : |
187193 const { parseFailedTests, fetchFlakinessScores, buildFlakinessTable } = require('./.github/scripts/fetch-flakiness.js');
@@ -190,14 +196,14 @@ jobs:
190196 if (!prNumber) return;
191197 const existingCommentId = Number('${{ steps.find-e2e-comment.outputs.comment-id }}') || null;
192198
193- const relevantTests = `${{ needs.determine-tests.outputs.relevant_tests }}` ;
194- const remainingTests = `${{ needs.determine-tests.outputs.remaining_tests }}` ;
199+ const relevantTests = process.env.INPUT_RELEVANT_TESTS || '' ;
200+ const remainingTests = process.env.INPUT_REMAINING_TESTS || '' ;
195201 const emoji = '${{ steps.format-results.outputs.status-emoji }}';
196202 const status = '${{ steps.format-results.outputs.status-text }}';
197- const details = `${{ steps.format-results.outputs.details }}` ;
198- const failuresSection = `${{ steps.format-results.outputs.failures-section }}` ;
199- const reporterNote = `${{ steps.format-results.outputs.reporter-note }}` ;
200- const infraNote = `${{ steps.format-results.outputs.infra-note }}` ;
203+ const details = process.env.INPUT_DETAILS || '' ;
204+ const failuresSection = process.env.INPUT_FAILURES_SECTION || '' ;
205+ const reporterNote = process.env.INPUT_REPORTER_NOTE || '' ;
206+ const infraNote = process.env.INPUT_INFRA_NOTE || '' ;
201207
202208 // Fetch flakiness scores for failed tests
203209 const failedTests = parseFailedTests('phase1-test-results/results.xml');
@@ -369,6 +375,10 @@ jobs:
369375 continue-on-error : true
370376 env :
371377 HELIOS_REPO_SECRET : ${{ secrets.HELIOS_REPO_SECRET }}
378+ INPUT_DETAILS : ${{ steps.format-results.outputs.details }}
379+ INPUT_FAILURES_SECTION : ${{ steps.format-results.outputs.failures-section }}
380+ INPUT_REPORTER_NOTE : ${{ steps.format-results.outputs.reporter-note }}
381+ INPUT_INFRA_NOTE : ${{ steps.format-results.outputs.infra-note }}
372382 with :
373383 script : |
374384 const { parseFailedTests, fetchFlakinessScores, buildFlakinessTable } = require('./.github/scripts/fetch-flakiness.js');
@@ -379,10 +389,10 @@ jobs:
379389
380390 const emoji = '${{ steps.format-results.outputs.status-emoji }}';
381391 const status = '${{ steps.format-results.outputs.status-text }}';
382- const details = `${{ steps.format-results.outputs.details }}` ;
383- const failuresSection = `${{ steps.format-results.outputs.failures-section }}` ;
384- const reporterNote = `${{ steps.format-results.outputs.reporter-note }}` ;
385- const infraNote = `${{ steps.format-results.outputs.infra-note }}` ;
392+ const details = process.env.INPUT_DETAILS || '' ;
393+ const failuresSection = process.env.INPUT_FAILURES_SECTION || '' ;
394+ const reporterNote = process.env.INPUT_REPORTER_NOTE || '' ;
395+ const infraNote = process.env.INPUT_INFRA_NOTE || '' ;
386396
387397 const phase2Row = `| **Phase 2** (Remaining) | ${emoji} ${status} | ${details} |`;
388398
@@ -577,6 +587,10 @@ jobs:
577587 continue-on-error : true
578588 env :
579589 HELIOS_REPO_SECRET : ${{ secrets.HELIOS_REPO_SECRET }}
590+ INPUT_DETAILS : ${{ steps.format-results.outputs.details }}
591+ INPUT_FAILURES_SECTION : ${{ steps.format-results.outputs.failures-section }}
592+ INPUT_REPORTER_NOTE : ${{ steps.format-results.outputs.reporter-note }}
593+ INPUT_INFRA_NOTE : ${{ steps.format-results.outputs.infra-note }}
580594 with :
581595 script : |
582596 const { parseFailedTests, fetchFlakinessScores, buildFlakinessTable } = require('./.github/scripts/fetch-flakiness.js');
@@ -587,10 +601,10 @@ jobs:
587601
588602 const emoji = '${{ steps.format-results.outputs.status-emoji }}';
589603 const status = '${{ steps.format-results.outputs.status-text }}';
590- const details = `${{ steps.format-results.outputs.details }}` ;
591- const failuresSection = `${{ steps.format-results.outputs.failures-section }}` ;
592- const reporterNote = `${{ steps.format-results.outputs.reporter-note }}` ;
593- const infraNote = `${{ steps.format-results.outputs.infra-note }}` ;
604+ const details = process.env.INPUT_DETAILS || '' ;
605+ const failuresSection = process.env.INPUT_FAILURES_SECTION || '' ;
606+ const reporterNote = process.env.INPUT_REPORTER_NOTE || '' ;
607+ const infraNote = process.env.INPUT_INFRA_NOTE || '' ;
594608
595609 // Fetch flakiness scores for failed tests
596610 const failedTests = parseFailedTests('all-test-results/results.xml');
@@ -794,20 +808,22 @@ jobs:
794808 if : always() && github.event.workflow_run.event == 'pull_request'
795809 uses : actions/github-script@v8
796810 continue-on-error : true
811+ env :
812+ INPUT_PHASE2_NOTES : ${{ needs.run-e2e-remaining.outputs.phase2_notes || '' }}
797813 with :
798814 script : |
799815 const prNumber = Number('${{ steps.find-e2e-comment.outputs.pr-number }}');
800816 if (!prNumber) return;
801817 const existingCommentId = Number('${{ steps.find-e2e-comment.outputs.comment-id }}') || null;
802818
803- const status = ` ${{ steps.overall-status.outputs.status }}` ;
804- const description = ` ${{ steps.overall-status.outputs.description }}` ;
819+ const status = ' ${{ steps.overall-status.outputs.status }}' ;
820+ const description = ' ${{ steps.overall-status.outputs.description }}' ;
805821 const overallEmoji = status === 'success' ? '✅' : '❌';
806822 const overallLine = `\n**Overall: ${overallEmoji} ${description}**`;
807823
808824 const phase1Result = '${{ needs.run-e2e-relevant.result }}';
809825 const phase2Result = '${{ needs.run-e2e-remaining.result }}';
810- const phase2Notes = `${{ needs.run-e2e-remaining.outputs.phase2_notes || '' }}` ;
826+ const phase2Notes = process.env.INPUT_PHASE2_NOTES || '';
811827
812828 if (existingCommentId) {
813829 let body = (await github.rest.issues.getComment({
0 commit comments