1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-27 09:21:05 +02:00

feat(ci): Automatic categories in generated release notes (#5684)

* feat(ci): Automatic categories in generated release notes

* ci: Enforce PR labels

* chore: Job name

* fix: Label names
This commit is contained in:
bo0tzz 2023-12-14 20:54:37 +01:00 committed by GitHub
parent d729c863c8
commit e4ee224e16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 1 deletions

26
.github/release.yml vendored Normal file
View File

@ -0,0 +1,26 @@
changelog:
categories:
- title: Breaking Changes 🛠
labels:
- breaking-change
- title: Server
labels:
- 🗄️server
- title: Mobile
labels:
- 📱mobile
- title: Web
labels:
- 🖥️web
- title: Machine Learning
labels:
- 🧠machine-learning
- title: CLI
labels:
- cli
- title: Documentation
labels:
- documentation
- title: Dependency updates
labels:
- renovate

13
.github/workflows/pr-require-label.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Enforce PR labels
on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
name: Enforce label
runs-on: ubuntu-latest
steps:
- if: toJson(github.event.pull_request.labels) == '[]'
run: exit 1

View File

@ -71,5 +71,6 @@
"vector_map_tiles",
"flutter_map",
"flutter_map_heatmap"
]
],
"labels": ["renovate"]
}