File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 7777 run : |
7878 COMMIT_COUNT="${{ steps.commit-info.outputs.commit_count }}"
7979 TIMESTAMP="${{ steps.commit-info.outputs.timestamp }}"
80- COMMITS="${{ steps.commit-info.outputs.commits }}"
8180
81+ # Write PR body
8282 cat > pr-body.md << EOF
8383# # 🚀 Integration from develop to staging
8484
8888- **Auto-generated**: This PR was automatically created by the integration workflow
8989
9090# ## 📝 Recent Commits
91- ${COMMITS}
91+ EOF
92+
93+ # Append commits safely
94+ echo "${{ steps.commit-info.outputs.commits }}" >> pr-body.md
95+
96+ # Append rest of PR body
97+ cat >> pr-body.md << 'EOF'
9298
9399# ## 🔍 What happens next?
941001. Review the changes in this PR
134140**New commits**: ${COMMIT_COUNT}
135141
136142# ## 📝 Recent Commits
137- ${ COMMITS} "
143+ $COMMITS"
138144
139145 # Update or append the updated section
140146 if echo "$CURRENT_BODY" | grep -q "### 🔄 Last Updated:"; then
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments