Merge pull request #1438 from mikepenz/feature/revert_default_count
Keep 200 tag fetch default for 5.x release
This commit is contained in:
@@ -19,7 +19,7 @@ it('Configurations are merged correctly', async () => {
|
||||
|
||||
expect(expectedStringified).toEqual(
|
||||
`{
|
||||
"max_tags_to_fetch": 100,
|
||||
"max_tags_to_fetch": 200,
|
||||
"max_pull_requests": 1000,
|
||||
"max_back_track_time_days": 1000,
|
||||
"exclude_merge_branches": [],
|
||||
|
||||
@@ -11,7 +11,6 @@ const token = process.env.GITHUB_TOKEN || ''
|
||||
const githubRepository = new GithubRepository(token, undefined, '.')
|
||||
it('[Github] Should match generated changelog (unspecified fromTag)', async () => {
|
||||
const configuration = mergeConfiguration(undefined, resolveConfiguration('', 'configs/configuration.json'))
|
||||
configuration.max_tags_to_fetch = 300 // we change to load less, but those tests are pretty old releases
|
||||
const releaseNotesBuilder = new ReleaseNotesBuilder(
|
||||
null,
|
||||
githubRepository,
|
||||
|
||||
+1
-1
@@ -41888,7 +41888,7 @@ var external_path_ = __nccwpck_require__(6928);
|
||||
class PlaceholderGroup extends (/* unused pure expression or super */ null && (Map)) {
|
||||
}
|
||||
const DefaultConfiguration = {
|
||||
max_tags_to_fetch: 100, // the amount of tags to fetch from the github API
|
||||
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: 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)
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -61,7 +61,7 @@ export interface Placeholder {
|
||||
export class PlaceholderGroup extends Map<string, Placeholder[]> {}
|
||||
|
||||
export const DefaultConfiguration: Configuration = {
|
||||
max_tags_to_fetch: 100, // the amount of tags to fetch from the github API
|
||||
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: 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)
|
||||
|
||||
Reference in New Issue
Block a user