Skip to content

Commit

Permalink
Release drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
gabro committed May 2, 2024
1 parent 3938a0d commit a7886d6
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
template: |
## What’s Changed
$CHANGES
categories:
- title: "💥 Breaking changes"
labels:
- "breaking"
- title: "🐞 Bug fixes"
labels:
- "bug"
- title: "🔧 Dependency updates"
labels:
- "dependencies"
- title: "🧹 Chores"
labels:
- "chore"
- title: "📚 Documentation"
labels:
- "documentation"
version-resolver:
minor:
labels:
- "breaking"
default: patch
replacers:
- search: "@renovate"
replace: "@renovate-bot"
# NOTE(gabro): this is to remove the redundant issue number added by hophop in the PR title
- search: '/\* #\d+: (.+)/g'
replace: "* $1"
14 changes: 14 additions & 0 deletions .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Release Drafter

on:
push:
branches:
- main

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

0 comments on commit a7886d6

Please sign in to comment.