Skip to content
Snippets Groups Projects
Commit 27c1fdae73a5 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Prepare for the new changelog generation process

This adds the configuration for generating changelogs using the GitLab
API, and extends Danger to suggest using this new setup.

See https://gitlab.com/gitlab-com/gl-infra/delivery/-/issues/1551 for
more information.
parent 207b69dc93f0
No related branches found
No related tags found
2 merge requests!39Bumped oldstable branch to Heptapod 0.21,!31GitLab 13.10
---
# Settings for generating changelogs using the GitLab API. See
# https://docs.gitlab.com/ee/api/repositories.html#generate-changelog-data for
# more information.
categories:
added: Added
fixed: Fixed
changed: Changed
deprecated: Deprecated
removed: Removed
security: Security
performance: Performance
other: Other
......@@ -75,4 +75,21 @@
warn "**[CHANGELOG missing](https://docs.gitlab.com/ee/development/changelog.html).**\n\n" +
format(CREATE_CHANGELOG_MESSAGE, mr_iid: gitlab.mr_json["iid"], mr_title: mr_title, labels: presented_no_changelog_labels)
end
message(<<~MSG)
We are currently testing a new approach for generating changelogs. If one or
more of your commits warrant a changelog entry, please add the appropriate
`Changelog:` Git trailer to these commits. For example:
```
Add a new awesome feature
Here are the details about the feature being added.
Changelog: added
```
For more information, please take look at [this
issue](https://gitlab.com/gitlab-com/gl-infra/delivery/-/issues/1551).
MSG
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment