Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing release drafter #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}