Skip to content

Commit

Permalink
Merge pull request #565 from Anselmoo/release_drafter
Browse files Browse the repository at this point in the history
Fixed Issue: Automatic Release Drafter #564
  • Loading branch information
davidbuniat authored Feb 19, 2021
2 parents 3746cde + 55017c9 commit 3fdea4c
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/release_drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
template: |
# 🧭 What's Changed
$CHANGES
# ⚙️ Who Contributes
$CONTRIBUTORS
categories:
- title: '🏆 Milestone'
label: 'milestone'
- title: '🚀 New'
label: 'enhancement'
- title: '🐛 Bug Fixes'
label: 'bug'
- title: '🧰 Maintenance'
label: 'maintenance'
- title: '🗂 Documentation'
label: 'documentation'
- title: '🔗 Dependency Updates'
label: 'dependencies'
- title: '👋 Welcome'
label: 'good first issue'

version-resolver:
major:
labels:
- 'milestone'
minor:
labels:
- 'enhancement'
patch:
labels:
- 'bug'
- 'maintenance'
- 'documentation'
- 'dependencies'
- 'security'
- 'good first issue'

exclude-labels:
- 'skip-changelog'

17 changes: 17 additions & 0 deletions .github/workflows/release_drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master

jobs:
update_release_draft:
if: github.repository == 'activeloopai/Hub'
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3fdea4c

Please sign in to comment.