Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions codecov/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class Config:
SKIP_COVERED_FILES_IN_REPORT: bool = True
COMPLETE_PROJECT_REPORT: bool = False
COVERAGE_REPORT_URL: str | None = None
LABEL: str | None = None
DEBUG: bool = False

def __post_init__(self) -> None:
Expand Down
1 change: 1 addition & 0 deletions codecov/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def _create_comment(self) -> None:
count_files=diff_count_files,
coverage_files=coverage_files_info,
count_coverage_files=count_coverage_files,
label=self.config.LABEL,
)
except MissingMarker as e:
log.error(
Expand Down
4 changes: 3 additions & 1 deletion codecov/template_files/comment.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@
{%- endblock full_coverage_report_link %}

{%- block footer %}
{% if label %}
<sub>
This report was generated by <strong>codecov</strong>
This report was generated by <strong>{{ label }}</strong>
</sub>
{% endif %}
{% endblock footer -%}
{{ marker -}}
Loading