-
Notifications
You must be signed in to change notification settings - Fork 3
build: add default clang-format and clang-tidy versions to release notes #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #119 +/- ##
=======================================
Coverage 94.39% 94.39%
=======================================
Files 3 3
Lines 107 107
=======================================
Hits 101 101
Misses 6 6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: shenxianpeng <[email protected]>
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
Co-authored-by: shenxianpeng <[email protected]>
CodSpeed Performance ReportMerging #119 will not alter performanceComparing Summary
Benchmarks breakdown
Footnotes
|
|
This PR automatically includes information about the default versions of clang-format and clang-tidy in GitHub release notes, providing users with clear visibility into which tool versions are used by default in each release.
Problem
Users had no easy way to determine which versions of clang-format and clang-tidy were used by default in each release, making it difficult to understand tool behavior and troubleshoot issues.
Solution
The implementation adds a "Default Clang Tools Versions" section to all release notes that automatically displays the current default versions:
Implementation Details
.github/release-drafter.yml
that extends the shared organization configuration with a custom template.github/workflows/release-drafter.yml
to automatically extract tool versions and inject them into the release template via environment variablesDEFAULT_CLANG_FORMAT_VERSION
andDEFAULT_CLANG_TIDY_VERSION
constants directly in the workflow using Python commandsBenefits
The solution is minimal, maintains backward compatibility, and provides valuable information to users without disrupting existing workflows.
Fixes #117.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.