Skip to content

chore(ci): clean up PR validation and release automation#335

Merged
j-d-ha merged 12 commits into
mainfrom
chore/clean-up-ci
Apr 17, 2026
Merged

chore(ci): clean up PR validation and release automation#335
j-d-ha merged 12 commits into
mainfrom
chore/clean-up-ci

Conversation

@j-d-ha

@j-d-ha j-d-ha commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Consolidates CI/release housekeeping by tightening release-drafter label rules and PR title validation patterns.
  • Removes changelog-file automation (CHANGELOG.md and its update workflow) and updates related solution metadata.
  • Improves local contributor setup with an explicit git hooks setup task and corresponding contributing docs update.

Changes

  • Workflow and policy updates
    • Updated .github/release-drafter.yml autolabeling/category rules and breaking-change detection.
    • Updated .github/workflows/validate-pr-title.yaml to support revert, enforce scope format, and tighten subject validation.
    • Added dependabot labels across ecosystems in .github/dependabot.yml.
  • Repository cleanup
    • Removed .github/workflows/update-changelog.yaml.
    • Removed CHANGELOG.md and deleted its solution-item entry in MinimalLambda.sln.
  • Developer experience
    • Added setup-git-hooks task in tasks/LocalDevTasks.yml.
    • Updated CONTRIBUTING.md to include local git hook setup.
    • Updated commitlint.config.js rules (adds revert/cr, scope-case enforcement, sentence-case exclusion).
  • Skill/doc formatting
    • Applied formatting/line-wrap updates to several files under .agents/skills/git-workflow/.

Validation

  • Verified branch diff and commit history against main.
  • No additional local build/test run performed in this PR-opening step.

Notes for Reviewers

  • Please focus on whether the stricter PR-title/scope rules align with expected contributor workflow.
  • Confirm removing changelog automation/file matches the intended release process going forward.

j-d-ha added 11 commits April 17, 2026 08:42
- 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`
-
@github-actions github-actions Bot added the type: chore Maintenance task label Apr 17, 2026
- 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.
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Apr 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f044b35...515771f. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@j-d-ha
j-d-ha merged commit 4df5cbc into main Apr 17, 2026
10 of 11 checks passed
@j-d-ha
j-d-ha deleted the chore/clean-up-ci branch April 17, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore Maintenance task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant