From b03dd53b63f545bc5a5855ada4a0919a3ad5ecd7 Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Thu, 8 Feb 2024 09:17:08 +0000 Subject: [PATCH] doc: Add commitlint badge. --- README.md | 1 + includes/variable.jinja | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 350d87ba..459b8dec 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ A Python project template covering the entire development lifecycle with various [![CI](https://github.com/serious-scaffold/ss-python/actions/workflows/ci.yml/badge.svg)](https://github.com/serious-scaffold/ss-python/actions/workflows/ci.yml) [![Release](https://github.com/serious-scaffold/ss-python/actions/workflows/release.yml/badge.svg)](https://github.com/serious-scaffold/ss-python/actions/workflows/release.yml) [![DevContainer](https://github.com/serious-scaffold/ss-python/actions/workflows/devcontainer.yml/badge.svg)](https://github.com/serious-scaffold/ss-python/actions/workflows/devcontainer.yml) +[![CommitLint](https://github.com/serious-scaffold/ss-python/actions/workflows/commitlint.yml/badge.svg)](https://github.com/serious-scaffold/ss-python/actions/workflows/commitlint.yml) [![Coverage](https://img.shields.io/endpoint?url=https://serious-scaffold.github.io/ss-python/_static/badges/coverage.json)](https://serious-scaffold.github.io/ss-python/reports/coverage) [![PyPI](https://img.shields.io/pypi/v/ss-python)](https://pypi.org/project/ss-python/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ss-python)](https://pypi.org/project/ss-python/) diff --git a/includes/variable.jinja b/includes/variable.jinja index 2aac8602..69c991f6 100644 --- a/includes/variable.jinja +++ b/includes/variable.jinja @@ -44,6 +44,7 @@ [![CI](https://{{ repo_url() }}/actions/workflows/ci.yml/badge.svg)](https://{{ repo_url() }}/actions/workflows/ci.yml) [![Release](https://{{ repo_url() }}/actions/workflows/release.yml/badge.svg)](https://{{ repo_url() }}/actions/workflows/release.yml) [![DevContainer](https://{{ repo_url() }}/actions/workflows/devcontainer.yml/badge.svg)](https://{{ repo_url() }}/actions/workflows/devcontainer.yml) +[![CommitLint](https://{{ repo_url() }}/actions/workflows/commitlint.yml/badge.svg)](https://{{ repo_url() }}/actions/workflows/commitlint.yml) [%- elif repo_host_type == 'gitlab.com' or repo_host_type == 'gitlab-self-managed' -%] [![pipeline status](https://{{ repo_url() }}/badges/main/pipeline.svg)](https://{{ repo_url() }}/-/commits/main) [%- endif %]