peregrine/.cliff.toml
pyr0ball 9f9453a3b0
Some checks failed
CI / Backend (Python) (push) Failing after 29s
CI / Frontend (Vue) (push) Successful in 1m2s
Mirror / mirror (push) Failing after 9s
ci: wire Forgejo Actions workflows and add .cliff.toml
Adds the three standard CircuitForge workflows from cf-agents:
- ci.yml: split backend (Python/ruff/pytest) + frontend (Node/vue-tsc/vitest) jobs
- mirror.yml: push-to-GitHub + Codeberg on main/tags
- release.yml: changelog generation + Forgejo release on v* tags
  (Docker push disabled pending BSL registry policy — cf-agents#3)

Also adds .cliff.toml with conventional-commits changelog config.

Full-stack ci.yml variant tracked in cf-agents#4; update when available.
Required secrets: GITHUB_MIRROR_TOKEN, CODEBERG_MIRROR_TOKEN, FORGEJO_RELEASE_TOKEN

Closes #69
2026-04-05 23:57:43 -07:00

44 lines
1.2 KiB
TOML

# git-cliff changelog configuration for Peregrine
# See: https://git-cliff.org/docs/configuration
[changelog]
header = """
# Changelog\n
"""
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [Unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}**{{ commit.scope }}:** {% endif %}{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}\n
"""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
commit_preprocessors = []
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactoring" },
{ message = "^docs", group = "Documentation" },
{ message = "^test", group = "Testing" },
{ message = "^chore", group = "Chores" },
{ message = "^ci", group = "CI/CD" },
{ message = "^revert", group = "Reverts" },
]
filter_commits = false
tag_pattern = "v[0-9].*"
skip_tags = ""
ignore_tags = ""
topo_order = false
sort_commits = "oldest"