Skip to content

Commit

Permalink
chore: Update automated release configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
chyroc committed Oct 8, 2024
1 parent ee931e7 commit bcd4d78
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: 'Features'
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: 'Bug Fixes'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: 'Maintenance'
label: 'chore'
- title: '🧰 Maintenance'
labels:
- 'chore'
- 'documentation'
autolabeler:
- label: 'chore'
files:
Expand All @@ -38,7 +40,7 @@ version-resolver:
patch:
labels:
- 'patch'
default: minor
default: patch
template: |
## Changes
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/required-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Required Labels
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
label:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: mheap/github-action-required-labels@v5
with:
mode: minimum
count: 1
labels: |
feature
enhancement
fix
bugfix
bug
chore
documentation
add_comment: true
message: "Requires label: {{ applied }}."

0 comments on commit bcd4d78

Please sign in to comment.