From 4c497421fc59f884e82b8104f1ce9b53a8c6a950 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Mon, 21 Jun 2021 09:19:40 +0200 Subject: [PATCH] - adjust test cases, as with the age of the action, original commits and PRs for the tests are now out of range --- configs/configuration.json | 4 +++- configs/configuration_repo.json | 4 +++- configs_test/configuration_all_placeholders.json | 4 +++- configs_test/configuration_asc.json | 4 +++- configs_test/configuration_base_branches_develop.json | 4 +++- configs_test/configuration_base_branches_main.json | 4 +++- configs_test/configuration_commits.json | 4 +++- configs_test/configuration_commits_emoji.json | 4 +++- configs_test/configuration_desc.json | 4 +++- configs_test/configuration_empty_all_placeholders.json | 4 +++- configs_test/configuration_replace_all_placeholders.json | 4 +++- configs_test/configuration_uncategorized_category.json | 4 +++- 12 files changed, 36 insertions(+), 12 deletions(-) diff --git a/configs/configuration.json b/configs/configuration.json index 3581236..d220c1f 100644 --- a/configs/configuration.json +++ b/configs/configuration.json @@ -16,5 +16,7 @@ "sort": "ASC", "template": "${{CHANGELOG}}", "pr_template": "- ${{TITLE}}\n - PR: #${{NUMBER}}", - "empty_template": "- no changes" + "empty_template": "- no changes", + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file diff --git a/configs/configuration_repo.json b/configs/configuration_repo.json index 83123b4..e44e403 100644 --- a/configs/configuration_repo.json +++ b/configs/configuration_repo.json @@ -20,5 +20,7 @@ "title": "## 📦 Dependencies", "labels": ["dependencies"] } - ] + ], + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file diff --git a/configs_test/configuration_all_placeholders.json b/configs_test/configuration_all_placeholders.json index 826d948..130bf22 100644 --- a/configs_test/configuration_all_placeholders.json +++ b/configs_test/configuration_all_placeholders.json @@ -1,3 +1,5 @@ { - "pr_template": "${{TITLE}}\n${{NUMBER}}\n${{URL}}\n${{MERGED_AT}}\n${{AUTHOR}}\n${{LABELS}}\n${{MILESTONE}}\n${{BODY}}\n${{ASSIGNEES}}\n${{REVIEWERS}}" + "pr_template": "${{TITLE}}\n${{NUMBER}}\n${{URL}}\n${{MERGED_AT}}\n${{AUTHOR}}\n${{LABELS}}\n${{MILESTONE}}\n${{BODY}}\n${{ASSIGNEES}}\n${{REVIEWERS}}", + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file diff --git a/configs_test/configuration_asc.json b/configs_test/configuration_asc.json index 6e1fa39..a8af16f 100644 --- a/configs_test/configuration_asc.json +++ b/configs_test/configuration_asc.json @@ -1,4 +1,6 @@ { "sort": "ASC", - "pr_template": "${{NUMBER}}" + "pr_template": "${{NUMBER}}", + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file diff --git a/configs_test/configuration_base_branches_develop.json b/configs_test/configuration_base_branches_develop.json index ab7f59a..ac469c1 100644 --- a/configs_test/configuration_base_branches_develop.json +++ b/configs_test/configuration_base_branches_develop.json @@ -20,5 +20,7 @@ ], "base_branches": [ "develop" - ] + ], + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file diff --git a/configs_test/configuration_base_branches_main.json b/configs_test/configuration_base_branches_main.json index 6310639..e7883ba 100644 --- a/configs_test/configuration_base_branches_main.json +++ b/configs_test/configuration_base_branches_main.json @@ -20,5 +20,7 @@ ], "base_branches": [ "main" - ] + ], + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file diff --git a/configs_test/configuration_commits.json b/configs_test/configuration_commits.json index e3482b1..c12e8b8 100644 --- a/configs_test/configuration_commits.json +++ b/configs_test/configuration_commits.json @@ -7,5 +7,7 @@ ], "template": "${{CHANGELOG}}\n\nUncategorized:\n${{UNCATEGORIZED}}\n\nIgnored:\n${{IGNORED}}\n\n${{UNCATEGORIZED_COUNT}}\n${{IGNORED_COUNT}}", "pr_template": "- ${{TITLE}}\n", - "empty_template": "${{OWNER}}\n${{REPO}}\n${{FROM_TAG}}\n${{TO_TAG}}" + "empty_template": "${{OWNER}}\n${{REPO}}\n${{FROM_TAG}}\n${{TO_TAG}}", + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file diff --git a/configs_test/configuration_commits_emoji.json b/configs_test/configuration_commits_emoji.json index 49646fc..ef8bd3b 100644 --- a/configs_test/configuration_commits_emoji.json +++ b/configs_test/configuration_commits_emoji.json @@ -33,5 +33,7 @@ "pattern": "(.) (.+)", "target": "- $2" } - ] + ], + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file diff --git a/configs_test/configuration_desc.json b/configs_test/configuration_desc.json index 8d81997..5d85afb 100644 --- a/configs_test/configuration_desc.json +++ b/configs_test/configuration_desc.json @@ -1,4 +1,6 @@ { "sort": "DESC", - "pr_template": "${{NUMBER}}" + "pr_template": "${{NUMBER}}", + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file diff --git a/configs_test/configuration_empty_all_placeholders.json b/configs_test/configuration_empty_all_placeholders.json index 468e261..6d8a078 100644 --- a/configs_test/configuration_empty_all_placeholders.json +++ b/configs_test/configuration_empty_all_placeholders.json @@ -1,4 +1,6 @@ { "template": "${{CHANGELOG}}\n${{UNCATEGORIZED}}\n${{IGNORED}}\n${{OWNER}}\n${{REPO}}\n${{FROM_TAG}}\n${{TO_TAG}}\n${{CATEGORIZED_COUNT}}\n${{UNCATEGORIZED_COUNT}}\n${{IGNORED_COUNT}}", - "empty_template": "${{OWNER}}\n${{REPO}}\n${{FROM_TAG}}\n${{TO_TAG}}" + "empty_template": "${{OWNER}}\n${{REPO}}\n${{FROM_TAG}}\n${{TO_TAG}}", + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file diff --git a/configs_test/configuration_replace_all_placeholders.json b/configs_test/configuration_replace_all_placeholders.json index 235dbf6..6c73217 100644 --- a/configs_test/configuration_replace_all_placeholders.json +++ b/configs_test/configuration_replace_all_placeholders.json @@ -1,3 +1,5 @@ { - "pr_template": "${{TITLE}}\n${{TITLE}}\n${{NUMBER}}\n${{URL}}\n${{MERGED_AT}}\n${{AUTHOR}}\n${{AUTHOR}}\n${{LABELS}}\n${{MILESTONE}}\n${{BODY}}\n${{ASSIGNEES}}\n${{REVIEWERS}}" + "pr_template": "${{TITLE}}\n${{TITLE}}\n${{NUMBER}}\n${{URL}}\n${{MERGED_AT}}\n${{AUTHOR}}\n${{AUTHOR}}\n${{LABELS}}\n${{MILESTONE}}\n${{BODY}}\n${{ASSIGNEES}}\n${{REVIEWERS}}", + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file diff --git a/configs_test/configuration_uncategorized_category.json b/configs_test/configuration_uncategorized_category.json index 92dae2c..94118cc 100644 --- a/configs_test/configuration_uncategorized_category.json +++ b/configs_test/configuration_uncategorized_category.json @@ -10,5 +10,7 @@ } ], "template": "${{CHANGELOG}}\n\nUncategorized:\n${{UNCATEGORIZED}}\n\nIgnored:\n${{IGNORED}}\n\n${{UNCATEGORIZED_COUNT}}\n${{IGNORED_COUNT}}", - "empty_template": "${{OWNER}}\n${{REPO}}\n${{FROM_TAG}}\n${{TO_TAG}}" + "empty_template": "${{OWNER}}\n${{REPO}}\n${{FROM_TAG}}\n${{TO_TAG}}", + "max_pull_requests": 1000, + "max_back_track_time_days": 1000 } \ No newline at end of file