chore(ci): clean up PR validation and release automation#335
Merged
Conversation
- Deleted `CHANGELOG.md` as part of repository cleanup. - Removed reference to the `CHANGELOG.md` file from `MinimalLambda.sln`.
- Deleted `.github/workflows/update-changelog.yaml` to clean up unused CI configurations. - The workflow is no longer needed due to the removal of `CHANGELOG.md` from the repository.
- Adjusted `validate-pr-title.yaml` to improve PR title validation patterns. - Updated subject pattern to disallow titles starting with uppercase letters. - Simplified `release-drafter.yml` to enhance labeling and version resolution logic. - Added support for detecting breaking changes through title prefixes.
- Removed the redundant `breaking-change` label with body regex from `release-drafter.yml`.
- Updated `.github/dependabot.yml` to include a consistent `dependabot` label across all ecosystems: - nuget, github-actions, npm, dotnet-sdk, and pip. - Ensures easier identification and filtering of Dependabot pull requests.
- Added `revert` and `cr` to allowed `type-enum` values. - Modified `subject-case` to disallow `sentence-case`. - Enforced `scope-case` to use `lower-case`.
- Added `revert` as an allowed type in both PR validation and release-drafter settings. - Enforced lowercase scope validation in `validate-pr-title.yaml`. - Updated `release-drafter.yml` to correctly handle `revert` type and breaking changes. - Improved label handling for better changelog categorization.
- Introduced `setup-git-hooks` task in `LocalDevTasks.yml`. - Task installs Husky commit hooks using `npm install` and `npm run prepare`. - Includes descriptive messages for setup progress.
- Added instructions to run `task local:setup-git-hooks` for commit message validation. - Ensures contributors properly configure Husky hooks for consistent commit practices.
- Deleted all files under `.agents/skills/git-workflow`, including docs, examples, shared references, and templates. - Removed `skills-lock.json` entry referencing the `git-workflow` skill. - Cleaned up repository by removing unused skill implementation and dependencies.
- Introduced `git-workflow` skill for automating branching, committing, and creating pull requests. - Included detailed documentation covering workflows for branching, committing, and pull request creation: - `docs/branch.md` - `docs/commit.md` - `docs/pr.md` - Added shared references for scope detection, conventional commit types, and safety rules: - `shared/scope-detection.md` - `shared/conventional-types.md` - `shared/safety-rules.md` -
- Fixed spacing for `pull_request.types` in `docs.yaml`. - Removed trailing spaces in multiple steps for consistent formatting. - Simplified `uv sync` command by removing the `--locked` flag.
|
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #335 +/- ##
==========================================
+ Coverage 87.38% 87.52% +0.14%
==========================================
Files 113 113
Lines 2814 2814
Branches 351 351
==========================================
+ Hits 2459 2463 +4
+ Misses 254 250 -4
Partials 101 101 see 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
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
CHANGELOG.mdand its update workflow) and updates related solution metadata.Changes
.github/release-drafter.ymlautolabeling/category rules and breaking-change detection..github/workflows/validate-pr-title.yamlto supportrevert, enforce scope format, and tighten subject validation.dependabotlabels across ecosystems in.github/dependabot.yml..github/workflows/update-changelog.yaml.CHANGELOG.mdand deleted its solution-item entry inMinimalLambda.sln.setup-git-hookstask intasks/LocalDevTasks.yml.CONTRIBUTING.mdto include local git hook setup.commitlint.config.jsrules (addsrevert/cr, scope-case enforcement, sentence-case exclusion)..agents/skills/git-workflow/.Validation
main.Notes for Reviewers