Skip to content

Commit

Permalink
Automatically create releases based on closed milestones (#15)
Browse files Browse the repository at this point in the history
* Automatically create releases based on closed milestones

* Update to use new published milestones action

* Use release.yml template to generate release notes from labels
  • Loading branch information
mrharpo authored Jul 18, 2022
1 parent 6f4d9f2 commit 68701e3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
changelog:
categories:
- title: Breaking Changes πŸͺ…
labels:
- 'breaking :broken_heart:'

- title: New Features πŸŽ‰
labels:
- 'enhancement :heavy_plus_sign:'

- title: 'Bugfixes :bug:'
labels:
- 'bug :bug:'

- title: 'Maintenance :nut_and_bolt:'
labels:
- 'maintenance :wrench:'
- 'CI :test_tube:'
- 'CD :building_construction:'

- title: Other Changes
labels:
- '*'
14 changes: 14 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: πŸ“¦ Release
on:
milestone:
types: [closed]
jobs:
release:
name: πŸ“ Draft Release
runs-on: ubuntu-latest
steps:
- name: πŸ“° Checkout
uses: actions/checkout@v3

- name: πŸ“¦ Create draft release from milestone
uses: quaternionmedia/milestones@main

0 comments on commit 68701e3

Please sign in to comment.