Skip to content

Conversation

@SimonWahlin
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings July 5, 2025 20:56
@SimonWahlin SimonWahlin merged commit e408fbf into main Jul 5, 2025
1 check passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR overhauls the GitVersion configuration by defining new strategies and expanding detailed branch settings while removing legacy defaults.

  • Introduces explicit strategy names and global versioning rules at the top.
  • Replaces existing branch presets with fully detailed configurations for main, release, feature, pull-request, and unknown.
  • Cleans up the ignore section and adds global commit-message-incrementing settings.
Comments suppressed due to low confidence (3)

GitVersion.yml:15

  • The strategies: section entries need YAML list markers. Prefix each strategy name (e.g., Fallback, ConfiguredNextVersion, etc.) with - so they form a valid list under strategies:.
- Fallback

GitVersion.yml:100

  • This block appears indented under the ignore: section by mistake. Move and indent these default branch settings into the correct section (for example, under branches.defaults:) to maintain valid YAML structure.
mode: ContinuousDelivery

GitVersion.yml:4

  • Regex scalars should be quoted to avoid YAML parsing pitfalls. Wrap this pattern in single or double quotes (e.g., "(?<version>[vV]?\d+(\.\d+)?(\.\d+)?).*").
version-in-branch-pattern: (?<version>[vV]?\d+(\.\d+)?(\.\d+)?).*

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