Skip to content

Commit

Permalink
testing release drafter
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy Markley <[email protected]>
  • Loading branch information
Tommy Markley committed Apr 27, 2022
1 parent b30d877 commit 8c0e3d8
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# The overall template of the release notes
template: |
$CHANGES
include-labels:
- 'v2.0.0'

# Setting the formatting and sorting for the release notes body
name-template: Version $RESOLVED_VERSION Release Notes
change-template: "* $TITLE ([#$NUMBER](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/$NUMBER)) @#AUTHOR"
sort-by: merged_at
sort-direction: ascending
replacers:
- search: '##'
replace: '###'

# Organizing the tagged PRs into unified categories
categories:
- title: '🚀 Features'
labels:
- 'feature'
- title: '📈 Enhancements'
labels:
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'bug'
- title: '🚞 Infrastructure'
labels:
- 'build'
- 'ci'
- 'infra'
- 'test'
- 'test:unit'
- 'test:integration'
- 'test:bwc'
- 'test:functional'
- 'dependencies'
- 'github actions'
- 'release'
- title: '🛡 Security'
labels:
- 'cve'
- title: '📝 Documentation'
labels:
- 'docs'
- title: '🛠 Maintenance'
labels:
- 'version compatibility'
- 'maintenance'
- 'versioning'
- 'chore'
- title: '🪛 Refactoring'
labels:
- 'refactor'
- 'code quality'
17 changes: 17 additions & 0 deletions .github/workflows/draft_release_notes_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release Notes Drafter

on:
pull_request:
branches: [ '**', '!feature/**' ]
push:
branches:
- main

jobs:
draft_release_notes:
name: Draft Release Notes
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8c0e3d8

Please sign in to comment.