Skip to content

Fix music-social issue body formatting by normalizing commit message to first line#246

Merged
DavidKRK merged 3 commits into
gh-pagesfrom
copilot/fix-centralize-buy-me-a-coffee-img-styling
May 29, 2026
Merged

Fix music-social issue body formatting by normalizing commit message to first line#246
DavidKRK merged 3 commits into
gh-pagesfrom
copilot/fix-centralize-buy-me-a-coffee-img-styling

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 29, 2026

The music-social workflow was injecting full multi-line commit messages into generated “New Music Update” issues, which polluted the issue body (trailers like Agent-Logs-Url / Co-authored-by) and degraded readability. This update constrains the rendered commit message to a single clean subject line.

  • Problem scope

    • Auto-generated issue content included commit trailers because github.event.head_commit.message was used as-is.
  • Workflow change

    • In .github/workflows/music-social.yml, commit message extraction now:
      • uses a shared fallback constant (Mise à jour manuelle)
      • selects the first non-empty line only
      • preserves fallback behavior when message is empty/unset
  • Resulting issue output

    • **Message** now consistently contains only the commit subject, preventing markdown noise in the issue template.
const defaultCommitMsg = 'Mise à jour manuelle';
const commitMsg = (process.env.COMMIT_MSG || defaultCommitMsg)
  .split('\n')
  .find(line => line.trim().length > 0) || defaultCommitMsg;

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copilot AI linked an issue May 29, 2026 that may be closed by this pull request
6 tasks
@DavidKRK DavidKRK marked this pull request as ready for review May 29, 2026 03:53
Copilot AI review requested due to automatic review settings May 29, 2026 03:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI changed the title [WIP] Fix centralize Buy Me A Coffee img styling in CSS Fix music-social issue body formatting by normalizing commit message to first line May 29, 2026
Copilot AI requested a review from DavidKRK May 29, 2026 03:55
@DavidKRK DavidKRK merged commit ad13f88 into gh-pages May 29, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🎵 New Music Update — 19/05/2026 07:02:35

3 participants