mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-01 08:28:51 +00:00
chore: update PR title convention and semantic types in AGENTS.md and CONTRIBUTING.md (#11620)
Since I and the agents sometimes get confused about which scopes and types to use in our commits and PRs, I've created an explicit list that we can verify against our existing `semantic.yml` file. Co-authored-by: Marco A. <[email protected]> Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
co-authored by
Marco A.
Livio Spring
parent
e41b70b1e3
commit
a5a5b65931
@@ -90,6 +90,16 @@ Run commands from the repository root.
|
||||
- `@zitadel/docs`: `dev`, `build`, `generate`, `check-links`, `check-types`, `test`, `lint`
|
||||
- `@zitadel/console`: `dev`, `build`, `generate`, `lint`
|
||||
|
||||
## PR Title Convention
|
||||
|
||||
PR titles are validated by the Semantic PR app. Format:
|
||||
|
||||
`<type>(<scope>): <short summary>`
|
||||
|
||||
**Types**: must come from the list in [`.github/semantic.yml`](.github/semantic.yml) under `types:` — e.g. `feat`, `fix`, `docs`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`.
|
||||
|
||||
**Scopes**: optional, but if used must come from the list in [`.github/semantic.yml`](.github/semantic.yml) under `scopes:`. When in doubt, omit the scope — do not invent values not on that list.
|
||||
|
||||
## Documentation
|
||||
- **Human Guide**: See `CONTRIBUTING.md` for setup and contribution details.
|
||||
- **API Design**: See `API_DESIGN.md` for API specific guidelines.
|
||||
|
||||
Reference in New Issue
Block a user