@@ -434,41 +434,17 @@ jobs:
434434 - **Note:** Manual review recommended to ensure no regressions"
435435 fi
436436
437- # Create PR body
438- cat > pr_body.md << 'PRBODY'
439- ## Summary
440- This PR has been automatically created after successful completion of all CI stages.
441-
442- ## Commit Message(s)
443- ```
444- PRBODY
445- cat /tmp/commit_message.txt >> pr_body.md
446- cat >> pr_body.md << 'PRBODY'
447- ` ` `
448-
449- ## Test Results
450-
451- ### ✅ Build Stage
452- - Status: Passed
453- - Build Time: ${{ steps.build_info.outputs.build_time }}
454- - Total Time: ${{ steps.build_info.outputs.total_time }}
455- - [View build logs](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
456-
457- ### ✅ Boot Verification
458- - Status: Passed
459- - [View boot logs](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
460-
461- ### ✅ Kernel Selftests
462- - **Passed:** ${{ steps.stats.outputs.passed }}
463- - **Failed:** ${{ steps.stats.outputs.failed }}
464- - [View kselftest logs](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
465-
466- $COMPARISON_SECTION
467-
468- ---
469- 🤖 This PR was automatically generated by GitHub Actions
470- Run ID: ${{ github.run_id }}
471- PRBODY
437+ # Create PR body using script
438+ chmod +x .github/scripts/create-pr-body.sh
439+ .github/scripts/create-pr-body.sh \
440+ "${{ steps.build_info.outputs.build_time }}" \
441+ "${{ steps.build_info.outputs.total_time }}" \
442+ "${{ steps.stats.outputs.passed }}" \
443+ "${{ steps.stats.outputs.failed }}" \
444+ "${{ github.run_id }}" \
445+ "$COMPARISON_SECTION" \
446+ "${{ github.repository }}" \
447+ > pr_body.md
472448
473449 # Check if PR already exists
474450 EXISTING_PR=$(gh pr list --head "${{ github.ref_name }}" --base "$BASE_BRANCH" --json number --jq '.[0].number' || echo "")
0 commit comments