This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to draft release on push (#572)
* Add release drafter workflow * Add more labels to release drafter workflow * Rearrange labels in release drafter workflow
- Loading branch information
1 parent
51f353d
commit 0b57d93
Showing
2 changed files
with
63 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,42 @@ | ||
# The overall template of the release notes | ||
template: | | ||
Open Distro for Elasticsearch Version $RESOLVED_VERSION | ||
$CHANGES | ||
# Setting the formatting and sorting for the release notes body | ||
name-template: Version $RESOLVED_VERSION | ||
change-template: "- $TITLE (PR [#$NUMBER](https://github.com/opendistro-for-elasticsearch/sql/pull/$NUMBER))" | ||
sort-by: merged_at | ||
sort-direction: ascending | ||
|
||
# Organizing the tagged PRs into categories | ||
categories: | ||
- title: "Version Upgrades" | ||
labels: | ||
- "version compatibility" | ||
- title: "SQL and PPL" | ||
labels: | ||
- "SQL" | ||
- "PPL" | ||
- title: "SQL CLI" | ||
labels: | ||
- "CLI" | ||
- title: "SQL JDBC" | ||
labels: | ||
- "JDBC" | ||
- title: "SQL ODBC" | ||
labels: | ||
- "ODBC" | ||
- title: "SQL Workbench" | ||
labels: | ||
- "Workbench" | ||
- title: "Enhancements" | ||
labels: | ||
- "enhancement" | ||
- "maintenance" | ||
- title: "Bug Fixes" | ||
labels: | ||
- "bug" | ||
- title: "Documentation" | ||
labels: | ||
- "documentation" |
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,21 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
update_release_draft: | ||
name: Update draft release notes | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Drafts your next Release notes as Pull Requests are merged into "master" | ||
- name: Update draft release notes | ||
uses: release-drafter/release-drafter@v5 | ||
with: | ||
config-name: draft-release-notes-config.yml | ||
tag: (None) | ||
version: 1.9.0.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |