Skip to content

Improve GitVersion configuration and update GitHub Actions - #17

Merged
AGiorgetti merged 3 commits into
developfrom
feature/3_gitversion
Feb 26, 2026
Merged

Improve GitVersion configuration and update GitHub Actions#17
AGiorgetti merged 3 commits into
developfrom
feature/3_gitversion

Conversation

@AGiorgetti

Copy link
Copy Markdown
Contributor

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:

  • Introduced a new GitVersion.yml file with detailed GitFlow branch conventions, including branch-specific versioning rules, pre-release labels, and commit message patterns for version bumps.

Tooling and workflow updates:

  • Upgraded the gitversion.tool version in .config/dotnet-tools.json from 5.12.0 to 6.6.0 and added the rollForward option for improved stability.
  • Updated GitHub Actions workflow in .github/workflows/dotnet.yml to use the latest major versions of actions/checkout and actions/setup-dotnet for better compatibility and maintainability.

Copilot AI review requested due to automatic review settings February 26, 2026 14:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread GitVersion.yml
Comment thread .config/dotnet-tools.json Outdated
Comment thread GitVersion.yml
Comment thread .config/dotnet-tools.json Outdated
Comment thread .github/workflows/dotnet.yml
Comment thread GitVersion.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@AGiorgetti
AGiorgetti merged commit c1ee7b8 into develop Feb 26, 2026
1 check passed
@AGiorgetti
AGiorgetti deleted the feature/3_gitversion branch February 26, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants