Skip to content

Commit

Permalink
Revert CI workflow to release-drafter again
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Jan 2, 2025
1 parent 7d42920 commit ac97a50
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 31 deletions.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: music-assistant
custom: https://www.buymeacoffee.com/marcelveldt
45 changes: 45 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
change-template: '- #$NUMBER - $TITLE (@$AUTHOR)'
categories:

- title: "⚠ Breaking Changes"
labels:
- 'breaking-change'

- title: "🐛 Bugfixes"
labels:
- 'bugfix'

- title: "🚀 Features"
labels:
- 'feature'
- 'enhancement'
- 'new-feature'
- 'new-provider'

- title: '🧰 Maintenance'
labels:
- 'ci'
- 'documentation'
- 'maintenance'

- title: '⬆️ Dependencies'
collapse-after: 1
labels:
- 'dependencies'

template: |
## What’s Changed
$CHANGES
version-resolver:
major:
labels:
- 'breaking-change'
minor:
labels:
- 'new-feature'
- 'new-provider'
default: patch
4 changes: 0 additions & 4 deletions .github/workflows/.release-please-config.json

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/.release-please-manifest.json

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/pr-labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: PR Labels

# yamllint disable-line rule:truthy
on:
pull_request:
types:
- synchronize
- labeled
- unlabeled
branches:
- stable
- dev

jobs:
pr_labels:
name: Verify
runs-on: ubuntu-latest
steps:
- name: 🏷 Verify PR has a valid label
uses: ludeeus/[email protected]
with:
labels: >-
breaking-change, bugfix, refactor, new-feature, maintenance, ci, dependencies, documentation, new-provider, enhancement
15 changes: 15 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Release Drafter

on:
push:
branches:
- stable

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "stable"
- uses: release-drafter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24 changes: 0 additions & 24 deletions .github/workflows/release-please.yml

This file was deleted.

0 comments on commit ac97a50

Please sign in to comment.