Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release drafter update and autolabeler #1681

Merged
merged 11 commits into from
Dec 18, 2024
Merged
177 changes: 177 additions & 0 deletions .github/rd-release-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
filter-by-commitish: False
include-pre-releases: false
categories:
- title: 'Features'
labels:
- 'features'
- title: 'Enhancements'
labels:
- 'performance'
- 'enhancement'
- title: 'Bug Fixes'
labels:
- 'bug'
- title: 'Benchmarking'
label: 'benchmarking'
- title: 'Documentation'
labels:
- 'documentation'
- title: 'Testing'
label: 'testing'
- title: 'Security'
labels:
- 'security'
- title: 'Core'
label: 'core'
- title: 'Classification'
label: 'classification'
- title: 'Cluster'
label: 'cluster'
- title: 'Datasets'
label: 'datasets'
- title: 'Decomposition'
label: 'decomposition'
- title: 'FFT'
label: 'fft'
- title: 'Graph'
label: 'graph'
- title: 'Linear Algebra'
label: 'linalg'
- title: 'Naive Bayes'
label: 'naive bayes'
- title: 'Neural Networks'
labels:
- 'nn'
- 'neural net'
- title: 'Optimization'
label: 'optim'
- title: 'Preprocessing'
label: 'preprocessing'
- title: 'Regression'
label: 'regression'
- title: 'Sparse'
label: 'sparse'
- title: 'Spatial'
label: 'spatial'
- title: 'Utils'
label: 'utils'
exclude-labels:
- 'github-actions'
- 'dependencies'
- 'chore'
- 'workflows'

autolabeler:
JuanPedroGHM marked this conversation as resolved.
Show resolved Hide resolved
- label: 'workflows'
files:
- '.github/**/*'
title:
- '/Workflow.+/'
- label: 'chore'
title:
- '/\[pre-commit.ci\].+/'
- label: 'features'
title:
- '/feat/i'
- '/feature/i'
- '/implement/i'
- '/add/i'
- '/new/i'
branch:
- '/feature/i'
- '/feat/i'
- label: 'enhancement'
title:
- '/Refactor.+/'
- '/Expand.+/'
- label: 'documentation'
files:
- 'doc/**/*'
- '*.md'
- label: 'benchmarking'
files:
- 'benchmarks/**/*'
- label: 'docker'
files:
- 'docker/**/*'
- label: 'backport release'
title:
- '/bug/i'
- '/resolve/i'
- '/fix/i'
branch:
- '/bug/i'
- '/fix/i'
- label: 'bug'
title:
- '/bug/i'
- '/resolve/i'
- '/fix/i'
branch:
- '/bug/i'
- '/fix/i'
JuanPedroGHM marked this conversation as resolved.
Show resolved Hide resolved
- label: 'interoperability'
title:
- '/Support.+/'
- label: 'testing'
files:
- '**/tests/**/*'
- label: 'classification'
files:
- 'heat/classification/**/*'
- label: 'cluster'
files:
- 'heat/cluster/**/*'
- label: 'core'
files:
- 'heat/core/**/*'
- label: 'datasets'
files:
- 'heat/datasets/**/*'
- label: 'decomposition'
files:
- 'heat/decomposition/**/*'
- label: 'fft'
files:
- 'heat/fft/**/*'
- label: 'graph'
files:
- 'heat/graph/**/*'
- label: 'naive bayes'
files:
- 'heat/naive_bayes/**/*'
- label: 'nn'
files:
- 'heat/nn/**/*'
- label: 'optim'
files:
- 'heat/optim/**/*'
- label: 'preprocessing'
files:
- 'heat/preprocessing/**/*'
- label: 'regression'
files:
- 'heat/regression/**/*'
- label: 'sparse'
files:
- 'heat/sparse/**/*'
- label: 'spatial'
files:
- 'heat/spatial/**/*'
- label: 'utils'
files:
- 'heat/utils/**/*'
- label: 'linalg'
files:
- 'heat/core/linalg/**/*'

change-template: '- #$NUMBER $TITLE (by @$AUTHOR)'
category-template: '### $TITLE'
template: |
## Changes

$CHANGES

## Contributors

$CONTRIBUTORS
113 changes: 0 additions & 113 deletions .github/release-drafter.yml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ name: Release Drafter

on:
pull_request_target:
types: [closed]

permissions:
contents: read

types: [opened, reopened, synchronize]
jobs:
update_release_draft:
permissions:
Expand All @@ -19,6 +15,10 @@ jobs:
with:
egress-policy: audit

- uses: release-drafter/release-drafter@09c613e259eb8d4e7c81c2cb00618eb5fc4575a7 # v5.25.0
- uses: release-drafter/release-drafter@v6 # v6.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commitish: 'release'
name: ${{ github.ref_name }} - Draft release
config-name: rd-release-config.yml
Loading
Loading