Skip to content
Open
Show file tree
Hide file tree
Changes from 4 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
52 changes: 52 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'scope:feat'
- title: '🐛 Bug Fixes'
labels:
- 'scope:fix'
- title: '🧰 Maintenance'
labels:
- 'scope:chore'
- 'scope:refactor'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&'
version-resolver:
major:
labels:
- 'major'
- 'breaking'
minor:
labels:
- 'scope:feat'
patch:
labels:
- 'scope:fix'
- 'scope:chore'
- 'scope:refactor'
default: patch
autolabeler:
- label: 'scope:feat'
title:
- '/^feat(\(.*\))?!?:/i'
- label: 'scope:fix'
title:
- '/^fix(\(.*\))?!?:/i'
- label: 'scope:chore'
title:
- '/^chore(\(.*\))?!?:/i'
- '/^docs?(\(.*\))?!?:/i'
- '/^release(\(.*\))?!?:/i'
- label: 'scope:refactor'
title:
- '/^refactor(\(.*\))?!?:/i'
template: |
## What's Changed

$CHANGES

## Contributors

$CONTRIBUTORS
22 changes: 22 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release Drafter

on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading