AbsaOSS / generate-release-notes

Efficiently automate your release note generation with 'generate-release-notes'. This GH action scans your target GitHub repository's issues, sorting and organizing them into well-formatted release notes. Perfect for maintaining a streamlined and organized release process.
Apache License 2.0
9 stars 0 forks source link

Wrong type used in chapters definition #85

Open miroslavpojer opened 1 month ago

miroslavpojer commented 1 month ago

Describe the bug

The release notes generator seems to expect string in the array of chapters definition.

Expected behavior

Use proper "strong" type - yaml does support arrays.

Example

See in here:

          chapters: '[
            {"title": "Breaking Changes 💥", "label": "breaking-change"},
            {"title": "New Features 🎉", "label": "enhancement"},
            {"title": "New Features 🎉", "label": "feature"},
            {"title": "Bugfixes 🛠", "label": "bug"}
          ]'

Expected format

          chapters: [
            {"title": "Breaking Changes 💥", "label": "breaking-change"},
            {"title": "New Features 🎉", "label": "enhancement"},
            {"title": "New Features 🎉", "label": "feature"},
            {"title": "Bugfixes 🛠", "label": "bug"}
          ]