Skip to content

Commit

Permalink
Add critical type for changelog entries
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland authored and hmpf committed Feb 8, 2024
1 parent 1ece07a commit 50a3b08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ pull request need to be added to the folder `changelog.d/`.
The name of the file consists of three parts seperated by a period:
1. The identifier, either the issue number this pull request is refering to or if
there is no related issue a `+` followed by a unique short description.
2. The type of the change, we use `added`, `changed` and `fixed`.
2. The type of the change, we use `critical`, `added`, `changed` and `fixed`.
3. The file suffix, e.g. `.md`, towncrier does not care which suffix a fragment has.

So an example for a file name linked to an issue would be `214.added.md` or for a file
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ title_format = "## [{version}] - {project_date}"
issue_format = "[#{issue}](https://github.com/Uninett/Argus/issues/{issue})"
wrap = true

[[tool.towncrier.type]]
directory = "critical"
name = "Critical"
showcontent = true

[[tool.towncrier.type]]
directory = "added"
name = "Added"
Expand Down

0 comments on commit 50a3b08

Please sign in to comment.