Skip to content

Commit

Permalink
⚙️ ci: add release drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
sanoojes committed Sep 1, 2024
1 parent b749840 commit 7be5e99
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'

categories:
- title: '✨ Features'
labels:
- 'feat'
- 'enhancement'
description: 'New features and enhancements.'
- title: '🐛 Bug Fixes'
labels:
- 'bug'
- 'fix'
description: 'Bug fixes and patches.'
- title: '🧰 Maintenance'
labels:
- 'chore'
- 'docs'
- 'refactor'
- 'style'
description: 'General maintenance tasks and improvements.'

exclude-labels:
- 'skip-release'

template: |
## Spicetify Lucid v$NEXT_PATCH_VERSION
### 🚀 Highlights
$CHANGES
### 🛠️ Contributors
$CONTRIBUTORS
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release Drafter

on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
pull_request_target:
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@v6
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7be5e99

Please sign in to comment.