fix(ci): allow dependency commit format in conventional commit checks#371
Conversation
Agent-Logs-Url: https://github.com/JerrettDavis/PatternKit/sessions/71587abf-a2ba-40d2-a1d6-e7293cd53171 Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
Pull request overview
This PR updates repository CI configuration so Conventional Commit validation accepts deps as a valid type, and adjusts Dependabot’s NuGet commit message prefix to generate Conventional Commit–compliant subjects going forward.
Changes:
- Extend Conventional Commits workflow validation to accept the
depstype (regex + error message guidance). - Change Dependabot NuGet commit-message prefix from
depstochore(with scope).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/conventional-commits.yml | Adds deps to the allowed Conventional Commit types for PR titles and commit subjects. |
| .github/dependabot.yml | Updates Dependabot’s NuGet commit message prefix to chore while keeping include: scope for Conventional Commit formatting. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Test Results 1 files 1 suites 2m 50s ⏱️ Results for commit ca61cc6. ♻️ This comment has been updated with latest results. |
🔍 PR Validation ResultsVersion: `` ✅ Validation Steps
📊 ArtifactsDry-run artifacts have been uploaded and will be available for 7 days. This comment was automatically generated by the PR validation workflow. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #371 +/- ##
==========================================
+ Coverage 89.59% 95.61% +6.01%
==========================================
Files 506 506
Lines 41377 41377
Branches 5972 5972
==========================================
+ Hits 37072 39562 +2490
+ Misses 1960 1815 -145
+ Partials 2345 0 -2345
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Code Coverage |
Summary
depsas an accepted conventional-commit type in the Conventional Commits workflowdepstochore(with scope) so future dependency PRs are generated in conventional formatValidation
dotnet restore --use-lock-filedotnet tool restoredotnet build PatternKit.slnx --configuration Release --no-restore /p:ContinuousIntegrationBuild=truedotnet test PatternKit.slnx --configuration Release --no-build --verbosity minimalcodeql_checker(actions): 0 alerts