From 797226b4fd21ddb2b239edc20411b09f7dcaa9eb Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Wed, 22 Nov 2023 23:36:56 +0100 Subject: [PATCH] Add a continuous integration category (#92) --- github_activity/cli.py | 2 +- github_activity/github_activity.py | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/github_activity/cli.py b/github_activity/cli.py index 9ad46c8..161f32a 100644 --- a/github_activity/cli.py +++ b/github_activity/cli.py @@ -64,7 +64,7 @@ "A list of the tags to use in generating subsets of PRs for the " "markdown report. Must be one of:" "" - " ['enhancement', 'bugs', 'maintenance', 'documentation', 'api_change']" + " ['api_change', 'new', 'enhancement', 'bug', 'maintenance', 'documentation', 'ci', 'deprecate']" "" "If None, all of the above tags will be used." ), diff --git a/github_activity/github_activity.py b/github_activity/github_activity.py index c3cd310..1ad04d3 100644 --- a/github_activity/github_activity.py +++ b/github_activity/github_activity.py @@ -54,6 +54,11 @@ "pre": ["DOC", "DOCS"], "description": "Documentation improvements", }, + "ci": { + "tags": ["ci", "continuous-integration"], + "pre": ["CI"], + "description": "Continuous integration improvements", + }, "deprecate": { "tags": ["deprecation", "deprecate"], "pre": ["DEPRECATE", "DEPRECATION", "DEP"], @@ -240,7 +245,7 @@ def generate_all_activity_md( A list of the tags to use in generating subsets of PRs for the markdown report. Must be one of: - ['enhancement', 'bugs', 'maintenance', 'documentation', 'api_change'] + ['api_change', 'new', 'enhancement', 'bug', 'maintenance', 'documentation', 'ci', 'deprecate'] If None, all of the above tags will be used. include_issues : bool @@ -370,7 +375,7 @@ def generate_activity_md( A list of the tags to use in generating subsets of PRs for the markdown report. Must be one of: - ['enhancement', 'bugs', 'maintenance', 'documentation', 'api_change'] + ['api_change', 'new', 'enhancement', 'bug', 'maintenance', 'documentation', 'ci', 'deprecate'] If None, all of the above tags will be used. include_issues : bool