Skip to content

Commit c3e1d7a

Browse files
Fix yaml errors
Signed-off-by: Shreeya Patel <spatel@ciq.com>
1 parent 675ea16 commit c3e1d7a

File tree

1 file changed

+36
-34
lines changed

1 file changed

+36
-34
lines changed

.github/workflows/kernel-build-and-test-x86_64.yml

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -435,40 +435,42 @@ jobs:
435435
fi
436436
437437
# 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
438+
{
439+
cat << 'EOF'
440+
## Summary
441+
This PR has been automatically created after successful completion of all CI stages.
442+
443+
## Commit Message(s)
444+
EOF
445+
echo '```'
446+
cat /tmp/commit_message.txt
447+
echo '```'
448+
cat << EOF
449+
450+
## Test Results
451+
452+
### ✅ Build Stage
453+
- Status: Passed
454+
- Build Time: ${{ steps.build_info.outputs.build_time }}
455+
- Total Time: ${{ steps.build_info.outputs.total_time }}
456+
- [View build logs](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
457+
458+
### ✅ Boot Verification
459+
- Status: Passed
460+
- [View boot logs](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
461+
462+
### ✅ Kernel Selftests
463+
- **Passed:** ${{ steps.stats.outputs.passed }}
464+
- **Failed:** ${{ steps.stats.outputs.failed }}
465+
- [View kselftest logs](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
466+
467+
$COMPARISON_SECTION
468+
469+
---
470+
🤖 This PR was automatically generated by GitHub Actions
471+
Run ID: ${{ github.run_id }}
472+
EOF
473+
} > pr_body.md
472474

473475
# Check if PR already exists
474476
EXISTING_PR=$(gh pr list --head "${{ github.ref_name }}" --base "$BASE_BRANCH" --json number --jq '.[0].number' || echo "")

0 commit comments

Comments
 (0)