Improve CI/CD pipelines with gitflow and conventions#313
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Actions CI/CD workflows to better support a gitflow-style branching model and to drive NuGet package versions from Git tags to prevent tag/package version mismatches.
Changes:
- Expanded CI triggers to include PRs targeting
developand pushes todevelop,release/*, andhotfix/*. - Added configurable
logLevelinputs and attempted to apply them todotnet testverbosity. - Changed CD tag trigger format to SemVer-like tags and added a
get-versionjob to inject the tag version into the.csprojprior to packing.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| .github/workflows/ci.yml | Adds gitflow branch triggers and introduces dispatch-controlled test verbosity. |
| .github/workflows/cd.yml | Switches to SemVer tag triggers, adds version extraction, and injects version into the packed NuGet artifact. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
sylvain-guillet
approved these changes
Apr 8, 2026
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.
Summary
developbranch to CI pull_request triggersdevelop,release/*,hotfix/*dotnet teststeps (${{ inputs.logLevel || 'minimal' }})v*to semver without prefix (1.0.0)get-versionjob that extracts version from Git tag and injects it into.csprojbefore packImpact
The NuGet package version is now driven by the Git tag — no more risk of tag/package version mismatch.