Skip to content
Snippets Groups Projects
Commit 3706c5e0 authored by darrylong's avatar darrylong
Browse files

Release drafter config changes

parent d23c1c61
No related branches found
No related tags found
No related merge requests found
name-template: 'Cornac $RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
autolabeler:
- label: 'docs'
files:
- '*.md'
branch:
- '/docs{0,1}\/.+/'
- label: 'models'
files:
- '/cornac/models/*.py'
- '/cornac/models/**/*.py'
- label: 'datasets'
files:
- '/cornac/datasets/*.py'
template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
categories:
- title: 'Breaking'
label: 'type: breaking'
- title: 'Models'
label: 'type: models'
- title: 'Datasets'
label: 'type: datasets'
- title: 'New'
label: 'type: feature'
- title: 'Bug Fixes'
label: 'type: bug'
- title: 'Maintenance'
label: 'type: maintenance'
- title: 'Documentation'
label: 'type: docs'
- title: 'Other changes'
- title: 'Dependency Updates'
label: 'type: dependencies'
collapse-after: 5
version-resolver:
major:
labels:
- 'type: breaking'
minor:
labels:
- 'type: feature'
patch:
labels:
- 'type: bug'
- 'type: maintenance'
- 'type: docs'
- 'type: dependencies'
- 'type: security'
- 'type: models'
- 'type: datasets'
exclude-labels:
- 'skip-changelog'
\ No newline at end of file
......@@ -2,18 +2,25 @@ name: Release Drafter
on:
push:
tags:
- '*'
branches:
- master
pull_request:
types: [opened, reopened, synchronize]
permissions:
contents: read
jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Draft release
uses: release-drafter/release-drafter@v5.25.0
id: release_drafter
with:
config-name: workflows/release-drafter.yml
disable-autolabeler: true
config-name: draft-config.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment