Skip to content

docs: improve PR title format hint in PR template and CONTRIBUTING.md #286

@ncarenton

Description

@ncarenton

Context

The CI already enforces PR title conventions via .github/workflows/validate-pr-title.yml, but contributors don't get a clear reminder of the expected format when opening a PR.

This is a port of the same improvement made in the OpenCTI connectors repository: OpenCTI-Platform/connectors@b3b61c0

Changes

  • .github/PULL_REQUEST_TEMPLATE.md: add an explicit PR title format block in the comment header so contributors see it before submitting
  • CONTRIBUTING.md: improve the "Titles" section with a code block showing the exact format, a bullet breakdown of each field, and examples

Expected format (enforced by CI)

type(scope?)!?: description (#123)
  • type: feat | fix | chore | docs | style | refactor | perf | test | build | ci | revert
  • scope: optional — use the affected area or module
  • description: must start with a lowercase letter
  • (#123): required linked issue number at the end

Metadata

Metadata

Assignees

Labels

documentationType: documentation only (docs:).solvedResolved (should be linked to the solving PR).

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions