Skip to content

Commit

Permalink
Merge pull request #5 from Q42/feature/add-release-note-generation
Browse files Browse the repository at this point in the history
Add release notes automation
  • Loading branch information
tstikvoort authored Dec 20, 2023
2 parents 872c5df + f3a74ea commit fba1792
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github /release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
changelog:
exclude:
labels:
- no-release-notes
categories:
- title: '🚨 Actions required'
labels:
- 'action-required'
- title: '🚀 Features'
labels:
- 'feature'
- title: '🐛 Bug Fixes'
labels:
- 'bugfix'
- title: '🧰 Maintenance'
labels:
- 'maintenance'
- title: Other Changes
labels:
- "*"
13 changes: 13 additions & 0 deletions .github /workflows/enforce-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Enforce PR labels

on:
pull_request:
types: [ labeled, unlabeled, opened, edited, synchronize ]
jobs:
enforce-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/[email protected]
with:
REQUIRED_LABELS_ANY: "feature,bugfix,maintenance,no-release-notes"
REQUIRED_LABELS_ANY_DESCRIPTION: "Select at least one label ['feature','bugfix','maintenance','no-release-notes']"

0 comments on commit fba1792

Please sign in to comment.