heinrichreimer / action-github-changelog-generator

✏️ Automatically generate change log from your tags, issues, labels and pull requests on GitHub.
MIT License
127 stars 34 forks source link

Changelog for 2.4 is malformed #44

Open rasa opened 7 months ago

rasa commented 7 months ago

Describe the bug

The changelog for the 2.4 release is malformed.

Reproduce

Steps to reproduce the behavior:

  1. Visit https://github.com/heinrichreimer/action-github-changelog-generator/releases

Expected behavior

A well formed changelog

Stack trace / screenshots

%0A%0AFull Changelog%0A%0AFixed bugs:%0A%0A- Section/Header of fixed issue with milestone only (no release!) https://github.com/heinrichreimer/action-github-changelog-generator/issues/41%0A- Documentation typo. https://github.com/heinrichreimer/action-github-changelog-generator/issues/37%0A- All change under Unrelease https://github.com/heinrichreimer/action-github-changelog-generator/issues/31%0A- 0.1.0 is specified if sinceTag is not specified https://github.com/heinrichreimer/action-github-changelog-generator/issues/28%0A%0AClosed issues:%0A%0A- The set-output command is deprecated and will be disabled soon. https://github.com/heinrichreimer/action-github-changelog-generator/issues/42%0A- How to use the output? https://github.com/heinrichreimer/action-github-changelog-generator/issues/40%0A%0AMerged pull requests:%0A%0A- The set-output command is deprecated and will be disabled soon. https://github.com/heinrichreimer/action-github-changelog-generator/issues/42 https://github.com/heinrichreimer/action-github-changelog-generator/pull/43 (nroduit)%0A- 📝 - Typo fixed (https://github.com/heinrichreimer/action-github-changelog-generator/issues/37). https://github.com/heinrichreimer/action-github-changelog-generator/pull/38 (Artmorse)

MikeDabrowski commented 5 months ago

As a workaround I have used node to decode this to a file

node -e "console.log(decodeURIComponent(process.argv[1]))" "${{steps.generate-release-changelog.outputs.changelog}}" > tmp-CHANGELOG.md

However the output looks to be the whole changelog file and misses the tags.

bstopp commented 1 month ago

Would this suggest that using v2.4 of this action will result in our change logs being malformed?