1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00: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", "vector_map_tiles",
"flutter_map", "flutter_map",
"flutter_map_heatmap" "flutter_map_heatmap"
] ],
"labels": ["renovate"]
} }