- 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:
@@ -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"
|
||||
],
|
||||
|
||||
+2
-1
@@ -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 {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user