Skip to content

Commit 2a7975d

Browse files
chore: update labeler and release drafter for maintenance categorization (#19)
1 parent 1c205f3 commit 2a7975d

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/labeler.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,19 @@ templates:
99
workflows:
1010
- changed-files:
1111
- all-globs-to-any-file:
12-
- ".github/workflows/*.yml"
13-
- "!.github/workflows/_*.yml"
12+
- ".github/workflows/*.yml"
13+
- "!.github/workflows/_*.yml"
1414

1515
# Documentation label for root level .md files and files in /docs/ directory
1616
documentation:
1717
- changed-files:
1818
- any-glob-to-any-file:
1919
- "*.md"
2020
- "docs/**/*"
21+
22+
# Maintenance label for changes to .github directory files (but not subdirectories) and workflows with _ prefix
23+
maintenance:
24+
- changed-files:
25+
- any-glob-to-any-file:
26+
- ".github/*"
27+
- ".github/workflows/_*.yml"

.github/release-drafter.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ categories:
99
label: templates
1010
- title: ⚙️ Reusable Workflows
1111
label: workflows
12+
- title: 🔧 Maintenance
13+
label: maintenance
1214
- title: 📚 Documentation
1315
label: documentation
1416
- title: 📦 Dependency updates
1517
label: dependencies
1618
collapse-after: 10
1719
- title: ✍ Other changes
1820

19-
2021
template: |
2122
# What's Changed
2223
@@ -25,4 +26,4 @@ template: |
2526
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
2627
2728
exclude-labels:
28-
- 'skip-changelog'
29+
- "skip-changelog"

0 commit comments

Comments
 (0)