Skip to content

Commit

Permalink
fix: release notes categories (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkatsanto authored Mar 30, 2023
1 parent 9d7d795 commit 72b7354
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 1
labels:
- label: "breaking-change"
title: "BREAKING CHANGE:.*"
- label: "breaking-change"
title: ".*!:.*"
- label: "enhancement"
title: "^feat:.*"

5 changes: 3 additions & 2 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# .github/release.yml

changelog:
# exclude:
# labels:
Expand All @@ -8,10 +9,10 @@ changelog:
categories:
- title: Breaking Changes 🛠
labels:
- BREAKING CHANGE
- breaking-change
- title: Exciting New Features 🎉
labels:
- feat
- enhancement
- title: Other Changes
labels:
- "*"
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Label PRs

on:
- pull_request

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: srvaroa/labeler@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 72b7354

Please sign in to comment.