Skip to content

Commit

Permalink
Merge pull request #17 from oleg-nenashev/release-drafts
Browse files Browse the repository at this point in the history
Add Release Drafter
  • Loading branch information
oleg-nenashev committed Sep 26, 2023
2 parents 4d5ab1d + e855494 commit ce1785c
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter
name-template: $NEXT_PATCH_VERSION
tag-template: $NEXT_PATCH_VERSION

# Emoji reference: https://gitmoji.carloscuesta.me/
categories:
- title: 💥 Breaking changes
labels:
- breaking
- title: 🚀 New features and improvements
labels:
- enhancement
- title: 🐛 Bug fixes
labels:
- bug
- title: 📝 Documentation updates
labels:
- documentation
- title: 🌐 Localization and translation
labels:
- localization
- title: 🌐 Community-related changes
labels:
- community
- title: 👻 Maintenance
labels:
- chore
- maintenance
- title: 🚦 Tests
labels:
- test
- title: ✍ Other changes
# Default label used by Dependabot
- title: 📦 Dependency updates
labels:
- dependencies
collapse-after: 15
exclude-labels:
- skip-changelog
- invalid

template: |
<!-- Optional: add a release summary here -->
$CHANGES
autolabeler:
- label: 'documentation'
files:
- '*.md'
branch:
- '/docs{0,1}\/.+/'
- label: 'bug'
branch:
- '/fix\/.+/'
title:
- '/fix/i'
- label: 'enhancement'
branch:
- '/feature\/.+/'
18 changes: 18 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Release Drafter

on:
push:
branches:
- main

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
with:
name: next
tag: next
version: next
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ce1785c

Please sign in to comment.