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:
61
.releaserc.yaml
Normal file
61
.releaserc.yaml
Normal 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
|
||||
Reference in New Issue
Block a user