ci: Modify immutable commit subject via spreading

Merged
MA
3mo ago
+10-2

Summary

conventional-changelog has undocumented immutabilities in the transformCommit function call's params. Fix issue by spreading into new objects instead of trying to modify in place.

Related Linear tickets, Github issues, and Community forum posts

https://github.com/n8n-io/n8n/actions/runs/23440056396/job/68188184874

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with Backport to Beta, Backport to Stable, or Backport to v1 (if the PR is an urgent fix that needs to be backported)