-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create config and workflow files for release note (#209)
Signed-off-by: Xun Zhang <xunzh@amazon.com> (cherry picked from commit 133b380)
- Loading branch information
1 parent
c1728a1
commit d5c209f
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# The overall template of the release notes | ||
template: | | ||
Compatible with OpenSearch (**set version here**). | ||
$CHANGES | ||
# Setting the formatting and sorting for the release notes body | ||
name-template: Version (set version here) | ||
change-template: "* $TITLE ([#$NUMBER]($URL))" | ||
sort-by: merged_at | ||
sort-direction: ascending | ||
replacers: | ||
- search: "##" | ||
replace: "###" | ||
|
||
# Organizing the tagged PRs into unified ODFE categories | ||
categories: | ||
- title: "Breaking changes" | ||
labels: | ||
- "breaking change" | ||
- title: "Features" | ||
labels: | ||
- "feature" | ||
- title: "Enhancements" | ||
labels: | ||
- "enhancement" | ||
- title: "Bug Fixes" | ||
labels: | ||
- "bug" | ||
- "bug fix" | ||
- title: "Infrastructure" | ||
labels: | ||
- "infra" | ||
- "test" | ||
- "dependencies" | ||
- "github actions" | ||
- title: "Documentation" | ||
labels: | ||
- "documentation" | ||
- title: "Maintenance" | ||
labels: | ||
- "version upgrade" | ||
- "odfe release" | ||
- title: "Refactoring" | ||
labels: | ||
- "refactor" | ||
- "code quality" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
update_release_draft: | ||
name: Update draft release notes | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Update draft release notes | ||
uses: release-drafter/release-drafter@v5 | ||
with: | ||
config-name: draft-release-notes-config.yml | ||
name: Version (set here) | ||
tag: (None) | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |