fix: remove commented content from git commit message
What’s Changed?
This PR removes commented lines (# and <!-- -->) from auto-generated Git commit messages, ensuring the commit history is clean and readable.
Fixes
- Fixes #1588
Hi! I’m participating in Hacktoberfest 2025.
Please add the hacktoberfest-accepted label if appropriate. Thanks!
Hi! This PR removes commented lines from auto-generated Git commit messages — hacktoberfest-accepted label would be awesome!
Hi @rajuyadav03 , thanks for contributing to Apache Fory. To remove commented content, you may also need to update github workflow too. And invoke scripts/remove-commented-commit.sh in the github ci workflow
Thanks — I’ve added the workflow change to invoke scripts/remove-commented-commit.sh.
Thanks — I’ve added the workflow change to invoke scripts/remove-commented-commit.sh. The workflow now gets the last commit message, runs the script, and prints the cleaned message in CI logs. Please let me know if you want the job to do anything else
@rajuyadav03 have you verified that this PR works? you can open a pull request in your forked repository, and merge it into main branch, then open another PR to see whether it works
I verified the changes by merging them into my fork’s main and opening a PR to apache/fory. The CI checks for that PR passed: [link to PR]. Please let me know if you want any additional changes.