chore: add pr title validation to ci (#3702)

## Summary
- Adds a `pr-title` CI job that validates PR titles start with `feat:`,
`fix:`, `test:`, `chore:`, or `showcase:` and are all lowercase
- Updates `.github/CONTRIBUTING.md` with the title format rules and a
link to the full contributing docs

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bartek Iwańczuk
2026-03-27 09:11:51 +01:00
committed by GitHub
co-authored by Claude Opus 4.6
parent bc13417448
commit 7aea4942d7
2 changed files with 34 additions and 2 deletions
+17 -2
View File
@@ -1,5 +1,20 @@
# Contributing Guidelines
## Submitting a pull request
For the full contributing guide, see the
[Fresh documentation](https://fresh.deno.dev/docs/latest/contributing).
First, please be sure to ensure `deno task ok` is run and successfully passes.
## PR title format
PR titles must be all lowercase and start with one of the following prefixes:
- `feat:` - new features
- `fix:` - bug fixes
- `test:` - test additions or changes
- `chore:` - maintenance, refactoring, docs
- `ci:` - CI/CD changes
Example: `feat: add middleware compilation`
## Before submitting
Run `deno task ok` and ensure it passes.