Skip to content

Commit 620bb28

Browse files
author
Daniel Carabas
committed
Add changelog_max_issues configuration
1 parent 1637d4c commit 620bb28

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ Travis uses a .travis.yml file in the root of your repository to learn about you
184184
|changelog\_user|Sets the github user for the change_log_generator rake task. Optional, if not set it will read the `author` from the `metadata.json` file.|
185185
|changelog\_project|Sets the github project name for the change\_log\_generator rake task. Optional, if not set it will parse the `source` from the `metadata.json` file|
186186
|changelog\_since\_tag|Sets the github since_tag for the change\_log\_generator rake task. Required for the `changelog` rake task.|
187+
|changelog\_max\_issues|Sets the github max_issues for the change\_log\_generator rake task. Optional to limit max issues. |
187188
|changelog\_version\_tag\_pattern|Template how the version tag is to be generated. Defaults to `'v%s'` which eventually align with tag\_pattern property of puppet-blacksmith, thus changelog is referring to the correct version tags and compare URLs. |
188189
|github_site|Override built-in default for public GitHub. Useful for GitHub Enterprise and other. (Example: `github_site = https://git.domain.tld`) |
189190
|github_endpoint|Override built-in default for public GitHub. Useful for GitHub Enterprise and other. (Example: `github_endpoint = https://git.domain.tld/api/v4`) |

moduleroot/Rakefile.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ if Bundler.rubygems.find_name('github_changelog_generator').any?
9191
config.project = "#{changelog_project}"
9292
<% if @configs['changelog_since_tag'] -%>
9393
config.since_tag = <%= @configs['changelog_since_tag'].inspect %>
94+
<% end -%>
95+
<% if @configs['changelog_max_issues'] -%>
96+
config.max_issues = <%= @configs['changelog_max_issues'].inspect %>
9497
<% end -%>
9598
config.future_release = "#{changelog_future_release}"
9699
config.exclude_labels = ['maintenance']

0 commit comments

Comments
 (0)