Repository navigation
ci: Add automatically showing contributors how their pull requests affect the release notes - #3393
Conversation
|
Hey @Ahmed-Khaled-dev So a change in the title, or the description triggers a rerun. But would adding another commit to the PR also trigger a rerun ? Also do you think it could be possible to replace the original comment instead of making a new one ? I'm worried that maybe in some cases the bot could produce lots of unnecessary comments. |
|
Hello @mohamedAdhamc
Actually, I don't remember if I tested this at the time of creating the feature, so thank you for mentioning this. No, nothing triggers a rerun except editing the title or description of the pull request (which are the only things in the pull requests that affect the release notes), I tested this now to confirm it, I tested all the following and they all don't trigger a rerun, adding commits, comments, labels, assignees, etc.
At the time of creating this feature, I actually thought of the same idea. Still, I decided that since it doesn't comment except when the title or description is changed, then it wouldn't create any unnecessary comments and would give a nice interactive feel in the pull request, continuously showing the contributor and other people how his addition will look like in the release notes. But since you mentioned it, I just checked if it's doable, and there doesn't seem to be a straightforward way to do it, but I am sure there is a workaround for it. |
mohamedAdhamc
left a comment
There was a problem hiding this comment.
I suggest changing the text to:
"
Thank you for contributing!
Below is how your contribution will appear in Synfig's release notes. Review it and improve your pull request's title and description so that your contribution is clear. You can add images, videos, and anything else you want. Have fun!
"
Just some punctuation/sentence structure changes. As this would show in every PR.
|
I agree, the new message looks better, let me know if you would also like me to edit the message that gets sent when they improve their pull request title or description: " |
|
It looks good, just a few small edits. Thank you for attempting to improve your contribution description! Let me know when you do so. Because when that's done, I think everything else here looks good. I will approve it. |
this refines the GitHub bot messages that encourage better PR descriptions
cf4e637 to
107a3f7
Compare
mohamedAdhamc
left a comment
There was a problem hiding this comment.
Looks good to me. Works as expected.
|
Merged. Thank you! |





This is done by adding a simple GitHub workflow that uses the Release Notes Manager GitHub Action which I created for Synfig during Google Summer of Code 2024.
What does this do?
Adds the second feature listed in the features of the Release Notes Manager.
Finishes the optional/additional point in the first half of the Google Summer of Code Project
A detailed explanation of how it works can be found in the video below (originally used in a status update message)
show-pr-change-note.mp4
Why is this beneficial?
Enhances the description of the changes in the release notes for clearer understanding, since the contributors' pull requests' titles and descriptions will look bad in the release notes if they aren't clear, and the GitHub bot will encourage them to improve it, so they will automatically improve it to make it more descriptive
Gives Synfig's pull requests a more professional feel, which can result in attracting more new contributors
Note