@@ -60,12 +60,12 @@ def get_context_from_tags(
6060 continue
6161
6262 commit_metadata_func = MetadataCollector ()
63- subject_pipeline = pipeline_factory (
64- action_list = get_config ().subject_pipeline ,
63+ summary_pipeline = pipeline_factory (
64+ action_list = get_config ().summary_pipeline ,
6565 commit_metadata_func = commit_metadata_func ,
6666 version_metadata_func = version_metadata_func ,
6767 )
68- subject = subject_pipeline .run (commit .summary )
68+ summary = summary_pipeline .run (commit .summary )
6969 body_pipeline = pipeline_factory (
7070 action_list = get_config ().body_pipeline ,
7171 commit_metadata_func = commit_metadata_func ,
@@ -80,7 +80,7 @@ def get_context_from_tags(
8080 sha = commit .hexsha ,
8181 commit_datetime = commit .committed_datetime ,
8282 committer = f"{ commit .committer .name } <{ commit .committer .email } >" ,
83- subject = subject ,
83+ summary = summary ,
8484 body = body ,
8585 metadata = commit_metadata_func .metadata .copy (),
8686 )
@@ -128,9 +128,9 @@ def render(repository: Repo, config: Configuration, starting_tag: Optional[str]
128128 The full or partial changelog
129129 """
130130 version_context = get_context_from_tags (repository , config , starting_tag )
131- context = get_config () .variables .copy ()
131+ context = config .variables .copy ()
132132 context ["versions" ] = version_context
133- context ["VALID_AUTHOR_TOKENS" ] = get_config () .valid_author_tokens
133+ context ["VALID_AUTHOR_TOKENS" ] = config .valid_author_tokens
134134
135135 if starting_tag :
136136 heading_str = default_env .get_template ("heading.md.jinja" ).render ()
0 commit comments