ci(*:skip) Improve automated changelog generation
Issue
Description
Our changelog generation script didn't work automatically with our new PR title format.
Related issues/PRs
N/A
Proposal
Explanation
Use the PR title to categorise the PRs.
Checklist
- [x] Implement proposed change
- [x] Make CI checks pass
- [x] Ping maintainers on Slack (channel
#contributions)
Any other comments?
N/A
Instead of moving
update_changelogtodev, it would be better to keep it inflwr_tooland eventually moveflwr_toolinto a separate project
Shouldn't this be done in a separate PR? I feel like in terms of consistency, it makes more sense to have everything under dev/ (as flwr_tool currently only contains the protoc.py script, whereas dev/ contains all dev scripts similar to the update_changelog.py script)
The "move flwr_tool into a new project" should happen separately. But we had update_changelog.py in flwr_tool already (this PR removes it), so I'd recommend to leave it there and make the changes in the version in flwr_tool.
The "move
flwr_toolinto a new project" should happen separately. But we hadupdate_changelog.pyinflwr_toolalready (this PR removes it), so I'd recommend to leave it there and make the changes in the version inflwr_tool.
@danieljanes But this new script uses the same changelog_config.toml file as does check_pr_title script. This is why it was moved to dev/ so we don't have to do some relative path handling