Skip to content

Commit

Permalink
Merge pull request #1681 from helmholtz-analytics/workflow/release-dr…
Browse files Browse the repository at this point in the history
…after-calibration-main

Release drafter update and autolabeler
  • Loading branch information
JuanPedroGHM authored Dec 18, 2024
2 parents 4628cb5 + f1c00cb commit 89bcf8d
Show file tree
Hide file tree
Showing 4 changed files with 268 additions and 119 deletions.
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:
- 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'
- 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

0 comments on commit 89bcf8d

Please sign in to comment.