Skip to content

(ci) Require typed pull request titles and the template's sections - #30

Closed
nimerix wants to merge 4 commits into
mainfrom
ci/pull-request-rules
Closed

nimerix wants to merge 4 commits into
mainfrom
ci/pull-request-rules

Conversation

@nimerix

@nimerix nimerix commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Require pull request titles to start with a type in parentheses, such as (feat) or (fix) (types: feat, fix, perf, docs, refactor, test, build, ci, chore), and descriptions to have the template's Summary, Testing and Release notes sections with every release item checked.
  • Check that the version bump matches the title type: (feat) is a minor release, a breaking change such as (feat!) a major one, and everything else a patch.
  • Replace the Changelog workflow with a Pull request workflow that runs both checks, and add CONTRIBUTING.md.
  • This commit was made after Add release notes and a What's new popover #27 merged and was never pushed, so main has only had the release-note check.

Testing

  • npx vitest run tests/unit/pull-request-rules.test.ts tests/unit/changelog.test.ts: 10 passed, including the parenthesised title form and rejection of the old type: form.
  • PR_TITLE=... node scripts/check-changelog.mjs origin/main and node scripts/check-pull-request.mjs with this title and description: both pass.
  • npm test: 1075 passed. mesh-kernel (resolution 128) and scan-performance timed out at 5 s while the machine was under heavy unrelated CPU load; both pass when run on their own.

Release notes

  • Added a release to src/docs/changelog.ts describing what changed for users
  • Bumped the version to match the title type with npm version <minor|patch> --no-git-tag-version

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
kitbasher 4dc2365 Commit Preview URL

Branch Preview URL
Nov 18 2026, 06:13 AM

@nimerix nimerix changed the title ci: Require typed pull request titles and the template's sections (ci) Require typed pull request titles and the template's sections Nov 18, 2026
@nimerix

nimerix commented Nov 18, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #33, which drops version numbers and combines the title, description and build checks.

@nimerix nimerix closed this Nov 18, 2026
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.

1 participant