Skip to content

Commit

Permalink
ci: Add a Release Notes template and label categorization for easy au…
Browse files Browse the repository at this point in the history
…to generation. (#335)

Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 authored Nov 14, 2024
1 parent fb81199 commit 2e4d26b
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions .github/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
##
# Copyright (C) 2024 Hedera Hashgraph, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##
changelog:
exclude:
labels: ['wontfix', 'question', 'duplicate', 'invalid']
categories:
- title: '🚀 Enhancements'
labels: ['Feature Enhancement', 'New Feature']
- title: '🐛 Bug Fixes'
labels: ['Bug']
- title: '🔨 Tests'
labels: ['Tests']
- title: '📝 Documentation'
labels: ['Documentation', 'Design']
- title: '🔒 Security'
labels: ['Security']
- title: '🔧 Improvements'
labels: ['Improvement']
- title: '🔥 Breaking Changes'
labels: ['Breaking Change']
- title: '⬆️ Dependency Upgrades'
labels: ['dependencies']
sort: 'desc'
transformers:
- pattern: '^feat: (.*)$'
target: 'Feature: $1'
- pattern: '^fix: (.*)$'
target: 'Fix: $1'
- pattern: '^docs: (.*)$'
target: 'Docs: $1'
- pattern: '^style: (.*)$'
target: 'Style: $1'
- pattern: '^refactor: (.*)$'
target: 'Refactor: $1'
- pattern: '^perf: (.*)$'
target: 'Performance: $1'
- pattern: '^test: (.*)$'
target: 'Test: $1'
- pattern: '^chore: (.*)$'
target: 'Chore: $1'
- pattern: '^revert: (.*)$'
target: 'Revert: $1'
- pattern: '^security: (.*)$'
target: 'Security: $1'
- pattern: '^build: (.*)$'
target: 'Build: $1'
- pattern: '^ci: (.*)$'
target: 'CI: $1'
template: |
# $RELEASE_TITLE
**Release Date:** $RELEASE_DATE
## Changes
$CHANGES
## 👥 Contributors
$CONTRIBUTORS
---
## 📜 Full Changelog
[View the full changelog]($COMPARE_URL)

0 comments on commit 2e4d26b

Please sign in to comment.