Skip to content

Commit

Permalink
docs(main): document that we expect a reference to an issue in the ch…
Browse files Browse the repository at this point in the history
…angelog
  • Loading branch information
fengelniederhammer committed Oct 2, 2024
1 parent 1cf8c6e commit 04a2e14
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,21 @@ Internal includes are marked by double quotes. External includes are marked by a
We follow the [conventional commits](https://www.conventionalcommits.org/) guidelines for commit messages.
This will allow to automatically generate a changelog.

Please make sure to mention a reference in the commit message so that the generated changelog can be linked to
either an issue or a pull request.
This can be done via:
* Referencing an issue via "resolves" to the commit footer (preferred solution):
```
feat: my fancy new feature
some description
resolves #123
```
* Referencing an issue in the commit message header: `feat: my fancy new feature (#123)`
* Squash-merging on GitHub and adding the PR number to the commit message
(useful for smaller changes that don't have a corresponding issue).

We use [commitlint](https://commitlint.js.org/) to enforce the commit message format.
To use it locally, run `npm install`.

Expand Down

0 comments on commit 04a2e14

Please sign in to comment.