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

Avillk/release drafter #36

Open
wants to merge 4 commits into
base: kavilla/ci/cypress_input_control'
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
25 changes: 25 additions & 0 deletions .github/release-notes-drafter-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter
template: |
Compatible with OpenSearch Dashboards (set version here).
$CHANGES
# Setting the formatting and sorting for the release notes body
name-template: Version (set version here)
change-template: '* $TITLE ([#$NUMBER](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/$NUMBER))'
sort-by: merged_at
sort-direction: ascending
replacers:
- search: "##"
replace: "###"
include-labels: ["v1.3.0"]

# Organizing the tagged PRs into unified categories
categories:
- title: "Enhancements"
labels: "enhancement"

- title: "Bug fixes"
labels: "bug"

- title: "Maintenance"
labels: "maintenance"
19 changes: 19 additions & 0 deletions .github/workflows/draft-release-notes-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release Drafter

on:
push:
pull_request:

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: release-notes-drafter-config.yml
name: Version (set here)
tag: (None)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}