feat: initial common-repo source template for semantic releases

Includes:
- .releaserc.yaml (conventionalcommits preset, changelog, git, github, major-tag)
- commitlint.config.js (@commitlint/config-conventional)
- .github/workflows/commitlint.yml (PR commit linting via wagoid/commitlint-github-action)
- .github/workflows/release.yaml (semantic-release on push to main, GitHub App token auth)
- .common-repo.yaml (source-level excludes for README, LICENSE, self-config)
This commit is contained in:
2026-03-15 01:21:31 -07:00
commit 170f4c7b5f
7 changed files with 270 additions and 0 deletions

61
.releaserc.yaml Normal file
View File

@@ -0,0 +1,61 @@
---
branches:
- main
preset: "conventionalcommits"
tagFormat: "v${version}"
plugins:
- - "@semantic-release/commit-analyzer"
- preset: conventionalcommits
- - "@semantic-release/release-notes-generator"
- preset: conventionalcommits
- - "@semantic-release/changelog"
- - "@semantic-release/git"
- - "@semantic-release/github"
# Disable noisy issue/PR comments to avoid GH rate limits
- failComment: false
failTitle: false
labels: false
releasedLabels: false
successComment: false
- - "semantic-release-major-tag"
generateNotes:
- path: "@semantic-release/release-notes-generator"
writerOpts:
commitsSort:
- subject
- scope
presetConfig:
types:
- type: build
section: Build System
hidden: false
- type: chore
section: Miscellaneous
hidden: false
- type: ci
section: Continuous Integration
hidden: false
- type: docs
section: Documentation
hidden: false
- type: feat
section: Features
hidden: false
- type: fix
section: Bug Fixes
hidden: false
- type: perf
section: Performance Improvements
hidden: false
- type: refactor
section: Code Refactoring
hidden: false
- type: style
section: Styles
hidden: false
- type: test
section: Tests
hidden: false