build: add default clang-format and clang-tidy versions to release notes#119
Merged
shenxianpeng merged 9 commits intomainfrom Sep 19, 2025
Merged
build: add default clang-format and clang-tidy versions to release notes#119shenxianpeng merged 9 commits intomainfrom
shenxianpeng merged 9 commits intomainfrom
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 <3353385+shenxianpeng@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add default versions of clang-format and clang-tidy to each release notes
Add default clang-format and clang-tidy versions to release notes
Sep 18, 2025
|
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com>
CodSpeed Performance ReportMerging #119 will not alter performanceComparing Summary
Benchmarks breakdown
Footnotes
|
shenxianpeng
approved these changes
Sep 19, 2025
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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.ymlthat extends the shared organization configuration with a custom template.github/workflows/release-drafter.ymlto automatically extract tool versions and inject them into the release template via environment variablesDEFAULT_CLANG_FORMAT_VERSIONandDEFAULT_CLANG_TIDY_VERSIONconstants 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.