Skip to content

Commit

Permalink
Add a continuous integration category (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio authored Nov 22, 2023
1 parent f736be7 commit 797226b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion github_activity/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
),
Expand Down
9 changes: 7 additions & 2 deletions github_activity/github_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 797226b

Please sign in to comment.