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:
parent
d729c863c8
commit
e4ee224e16
3 changed files with 41 additions and 1 deletions
26
.github/release.yml
vendored
Normal file
26
.github/release.yml
vendored
Normal 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
13
.github/workflows/pr-require-label.yml
vendored
Normal 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
|
||||||
|
|
|
@ -71,5 +71,6 @@
|
||||||
"vector_map_tiles",
|
"vector_map_tiles",
|
||||||
"flutter_map",
|
"flutter_map",
|
||||||
"flutter_map_heatmap"
|
"flutter_map_heatmap"
|
||||||
]
|
],
|
||||||
|
"labels": ["renovate"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue