Skip to content

Commit

Permalink
release-drafter autolabeling config
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanPedroGHM committed Oct 15, 2024
1 parent 863cb99 commit 358d42c
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 9 deletions.
63 changes: 56 additions & 7 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,25 @@ filter-by-commitish: true
categories:
- title: '🔥 Features'
labels:
- 'features'
- title: '🚀 Enhancemets'
labels:
- 'performance'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'bug'
- 'bug :bug:'
- title: 'Google Summer of Code 2022'
label: 'GSoC22'
- title: '💯 Benchmarking'
label: 'benchmarking'
- title: '📜 Documentation'
label: 'documentation :book:'
- title: ' Testing'
labels:
- 'documentation'
- title: 'Testing'
label: 'testing'
- title: '🔒 Security'
labels:
- 'security'
- title: 'Arithmetic'
label: 'arithmetic'
- title: 'Array API'
Expand Down Expand Up @@ -75,8 +82,10 @@ categories:
label: 'rounding'
- title: 'Sanitation'
label: 'sanitation'
- title: 'Signal'
label: 'signal'
- title: 'Signal Processing'
labels:
- 'signal'
- 'signal processing'
- title: 'Sparse'
label: 'sparse'
- title: 'Spatial'
Expand All @@ -97,9 +106,49 @@ exclude-labels:
- 'chore'
- 'workflows'
autolabeler:
- label: 'workflows'
files:
- '.github/workflows'
title:
- 'Workflow.+'
- label: 'chore'
title:
- '\[pre-commit.ci\] .*'
- '\[pre-commit.ci\].+'
- label: 'features'
title:
- 'Features/.+'
- 'feat:.+'
branch:
- 'features/.+'
- label: 'enhancement'
title:
- 'Refactor.+'
- 'Expand.+'
- label: 'documentation'
files:
- 'doc/'
- '*.md'
- label: 'benchmarking'
files:
- 'benchmarks/'
- label: 'docker'
files:
- 'docker/'
- label: 'bug'
title:
- '\[Bug\]:.+'
- 'Bug/.+'
- 'Resolve.+'
- 'Fix.+'
branch:
- 'bug/.+'
- label: 'interoperability'
title:
- 'Support.+'
- label: 'testing'
files:
- '**/tests/*'


change-template: '- #$NUMBER $TITLE (by @$AUTHOR)'
category-template: '### $TITLE'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release Drafter

on:
pull_request_target:
types: [closed]
types: [opened, reopened, synchronize, labeled, closed]

permissions:
contents: read
Expand All @@ -19,6 +19,8 @@ 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: ${{ github.ref }}

0 comments on commit 358d42c

Please sign in to comment.