Skip to content

Commit

Permalink
Chore: Switch back to release drafter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Dec 20, 2024
1 parent 89caa64 commit 3b7eb77
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 82 deletions.
24 changes: 24 additions & 0 deletions .github/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
42 changes: 42 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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: "New features"
labels:
- 'feature'
- 'enhancement'
- 'new-feature'
- 'new-provider'

- title: '⬆️ Dependencies and various chores/maintenance'
collapse-after: 1
labels:
- 'dependencies'
- 'ci'
- 'documentation'
- 'maintenance'

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

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/.release-please-config-stable.json

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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 }}
26 changes: 0 additions & 26 deletions .github/workflows/release-please-dev.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/release-please-stable.yml

This file was deleted.

0 comments on commit 3b7eb77

Please sign in to comment.