diff --git a/README.md b/README.md index 1e29999..49eb7c8 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,8 @@ Default value: `undefined` ### `header` +Default value: `"# Changelog"` + Set the main header for the changelog document: ```json diff --git a/index.js b/index.js index 9d66558..7350e8c 100644 --- a/index.js +++ b/index.js @@ -166,7 +166,7 @@ class ConventionalChangelog extends Plugin { } async writeChangelog() { - const { infile, header: _header = '' } = this.options; + const { infile, header: _header = '# Changelog' } = this.options; let { changelog } = this.config.getContext(); const header = _header.split(/\r\n|\r|\n/g).join(EOL);