- adjust default max back track time to 365 days (e.g. allow release tags to have longer inbetween)

- this is possible with larger page size on commits and PRs
This commit is contained in:
Mike Penz
2021-01-11 22:53:50 +01:00
parent 2cbd5d5863
commit 7d89db2cb5
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ This configuration is a `.json` file in the following format.
],
"max_tags_to_fetch": 200,
"max_pull_requests": 200,
"max_back_track_time_days": 90,
"max_back_track_time_days": 365,
"exclude_merge_branches": [
"Owner/qa"
],
Generated Vendored
+2 -1
View File
@@ -125,7 +125,7 @@ exports.DefaultConfiguration = void 0;
exports.DefaultConfiguration = {
max_tags_to_fetch: 200,
max_pull_requests: 200,
max_back_track_time_days: 90,
max_back_track_time_days: 365,
exclude_merge_branches: [],
sort: 'ASC',
template: '${{CHANGELOG}}',
@@ -446,6 +446,7 @@ class PullRequests {
repo,
state: 'closed',
sort: 'updated',
per_page: '100',
direction: 'desc'
});
try {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -30,7 +30,7 @@ export interface TagResolver {
export const DefaultConfiguration: Configuration = {
max_tags_to_fetch: 200, // the amount of tags to fetch from the github API
max_pull_requests: 200, // the amount of pull requests to process
max_back_track_time_days: 90, // allow max of 90 days to check up on pull requests
max_back_track_time_days: 365, // allow max of 365 days back to check up on pull requests
exclude_merge_branches: [], // branches to exclude from counting as PRs (e.g. YourOrg/qa, YourOrg/main)
sort: 'ASC', // sorting order for filling the changelog (ASC or DESC) supported
template: '${{CHANGELOG}}', // the global template to host the changelog