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
6 changes: 4 additions & 2 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ jobs:
"chore", "docs", "test", "tests", "style", "ci", "perf"
]],
"scope-enum": [1, "always", [
"core", "helpers", "deps", "release", "ci",
"version", "hmac", "docs", "tests", "examples"
"core", "helpers", "client", "auth", "statcalc",
"exceptions", "cache", "defaults", "typing", "hmac",
"version", "deps", "release", "changelog", "ci",
"docs", "tests", "examples", "parity"
]],
"subject-max-length": [1, "always", 100],
"header-max-length": [0, "always"],
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ jobs:
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git switch -c "${branch}"
git add CHANGELOG.md
git commit -m "docs(changelog): update for ${tag}"
# `chore` keeps this bookkeeping commit out of the rendered sections;
# `docs` would list every release's regeneration in the next release.
git commit -m "chore(changelog): update for ${tag}"
git push --force-with-lease origin "${branch}"
gh pr create \
--base main --head "${branch}" \
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ in-place = true
output = "CHANGELOG.md"
marker-line = "<!-- insertion marker -->"
bump = "auto"
# The angular convention renders only feat/fix/revert/refactor/perf by default.
# Listing them explicitly is what lets `docs` join them.
sections = ["feat", "fix", "revert", "refactor", "perf", "docs"]

# ── Coverage ─────────────────────────────────────────────────────────────

Expand Down