Skip to content

Improve CI/CD pipelines with gitflow and conventions#313

Merged
sylvain-guillet merged 2 commits into
mainfrom
ci-cd-gitflow
Apr 8, 2026
Merged

Improve CI/CD pipelines with gitflow and conventions#313
sylvain-guillet merged 2 commits into
mainfrom
ci-cd-gitflow

Conversation

@alexandrebpetit

Copy link
Copy Markdown
Collaborator

Summary

  • Add develop branch to CI pull_request triggers
  • Add CI push triggers on develop, release/*, hotfix/*
  • Add logLevel options (minimal/normal/detailed/diagnostic, default: minimal)
  • Dynamic verbosity in all dotnet test steps (${{ inputs.logLevel || 'minimal' }})
  • Switch CD tag format from v* to semver without prefix (1.0.0)
  • Add get-version job that extracts version from Git tag and injects it into .csproj before pack

Impact

The NuGet package version is now driven by the Git tag — no more risk of tag/package version mismatch.

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

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 develop and pushes to develop, release/*, and hotfix/*.
  • Added configurable logLevel inputs and attempted to apply them to dotnet test verbosity.
  • Changed CD tag trigger format to SemVer-like tags and added a get-version job to inject the tag version into the .csproj prior 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.

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/cd.yml
Comment thread .github/workflows/cd.yml
Comment thread .github/workflows/cd.yml
Comment thread .github/workflows/cd.yml
Comment thread .github/workflows/cd.yml
Comment thread .github/workflows/cd.yml
@sylvain-guillet sylvain-guillet merged commit f534abe into main Apr 8, 2026
8 checks passed
@sylvain-guillet sylvain-guillet deleted the ci-cd-gitflow branch April 8, 2026 16:37
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.

4 participants