Improve GitVersion configuration and update GitHub Actions - #17
Merged
Conversation
…nt and versioning
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request aims to modernize the project's versioning and CI/CD infrastructure by upgrading GitVersion tooling and adding comprehensive branch-specific versioning rules. However, the changes contain several critical issues that will prevent the GitHub Actions workflow from running and may cause unexpected versioning behavior.
Changes:
- Added detailed GitVersion.yml configuration with GitFlow branch conventions and commit message patterns for semantic versioning
- Upgraded gitversion.tool from version 5.12.0 to 6.6.0 in .config/dotnet-tools.json
- Updated GitHub Actions workflow to reference major versions instead of specific patch versions
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| GitVersion.yml | New comprehensive configuration with branch-specific versioning rules, pre-release labels, and commit message patterns for GitFlow workflow |
| .config/dotnet-tools.json | Upgraded GitVersion tool from 5.12.0 to 6.6.0 and added rollForward setting |
| .github/workflows/dotnet.yml | Updated actions/checkout and actions/setup-dotnet to use major version references |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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 pull request updates the project's GitVersion tooling and configuration to support a more robust and flexible GitFlow-based semantic versioning strategy. It also modernizes GitHub Actions workflow steps for improved compatibility.
GitVersion configuration enhancements:
GitVersion.ymlfile with detailed GitFlow branch conventions, including branch-specific versioning rules, pre-release labels, and commit message patterns for version bumps.Tooling and workflow updates:
gitversion.toolversion in.config/dotnet-tools.jsonfrom5.12.0to6.6.0and added therollForwardoption for improved stability..github/workflows/dotnet.ymlto use the latest major versions ofactions/checkoutandactions/setup-dotnetfor better compatibility and maintainability.