switch to release helper #165

Merged
OCram85 merged 2 commits from migrate/Woodpecker into master 2025-02-24 07:50:04 +01:00
2 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,19 @@
depends_on:
- ci
- dos
when:
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
- event: manual
evaluate: TASK == "release-helper"
steps:
release-helper:
image: woodpeckerci/plugin-ready-release-go:3.1.3
settings:
debug: true
git_email: noreply@ocram85.com
forge_token:
from_secret: ci_bot

67
release-config.ts Normal file
View File

@ -0,0 +1,67 @@
export default {
skipLabels: [
// FIXME: ignoring a label prevents processing the full PR!
//'build_pr_images',
// ignore issue labels
'duplicate',
'help wanted',
'invalid',
'question',
'wontfix',
],
changeTypes: [
{
title: '💥 Breaking changes',
labels: ['breaking'],
bump: 'major',
weight: 4,
},
{
title: '✨ Features',
labels: ['feature'],
bump: 'minor',
weight: 3,
},
{
title: '🛠️ Enhancement',
labels: ['enhancement'],
bump: 'minor',
weight: 2,
},
{
title: '🐛 Bug Fixes',
labels: ['bug'],
bump: 'patch',
weight: 1,
},
{
title: '🤖 Dependency',
labels: ['renovate', 'dependency'],
bump: 'patch',
},
{
title: '📚 Documentation',
labels: ['docs'],
bump: 'patch',
},
{
title: '📦 Build',
labels: ['pipeline'],
bump: 'patch',
weight: -1,
},
{
title: '⚙️ Meta',
labels: ['meta'],
bump: 'patch',
weight: -2,
},
{
title: '🔖 Misc',
labels: ['misc'],
bump: 'patch',
default: true,
weight: -3,
},
],
}