Skip to content

Commit

Permalink
Add release-drafter template
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitj committed Oct 20, 2023
1 parent 86decf2 commit 57f8e41
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 16 deletions.
28 changes: 28 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name-template: $RESOLVED_VERSION
tag-template: v$RESOLVED_VERSION
filter-by-commitish: true
template: |
## Changes
$CHANGES
categories:
- title: 🚀 Features
labels: [breaking, enhancement]
- title: 🐛 Bug Fixes
labels: [bug]
- title: 🧰 Maintenance
labels: [maintenance, test]
- title: 📝 Documentation
labels: [documentation]
exclude-labels: [skip_changelog]
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: \<*_& # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
# major:
# labels:
# - 'breaking'
minor:
labels: [breaking, enhancement]
patch:
labels: [maintenance, bug, test, documentation]
default: patch
18 changes: 2 additions & 16 deletions .github/workflows/workflow-version_task-semverGithub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,8 @@
# - main branch is protected
name: Bump version
on:
workflow_dispatch:
inputs:
comments:
description: Comments
required: false
type: string
project-metadata:
description: File containing project metadata (e.g. pyproject.toml)
required: false
default: pyproject.toml
type: string
pipeline-description:
description: Boolean flag to update pipeline_description.json
required: false
default: false
type: boolean
pull_request_target:
types: [closed]
workflow_call:
inputs:
project-metadata:
Expand Down

0 comments on commit 57f8e41

Please sign in to comment.