mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 02:13:51 -04:00
chore: validate every PR has a changelog related label (#11909)
This commit is contained in:
parent
d9698884bd
commit
2237b7a399
14
.github/release.yml
vendored
14
.github/release.yml
vendored
@ -2,28 +2,28 @@ changelog:
|
|||||||
categories:
|
categories:
|
||||||
- title: 🚨 Breaking Changes
|
- title: 🚨 Breaking Changes
|
||||||
labels:
|
labels:
|
||||||
- breaking-change
|
- changelog:breaking-change
|
||||||
|
|
||||||
- title: 🔒 Security
|
- title: 🔒 Security
|
||||||
labels:
|
labels:
|
||||||
- security
|
- changelog:security
|
||||||
|
|
||||||
- title: 🚀 Features
|
- title: 🚀 Features
|
||||||
labels:
|
labels:
|
||||||
- feature
|
- changelog:feature
|
||||||
|
|
||||||
- title: 🌟 Enhancements
|
- title: 🌟 Enhancements
|
||||||
labels:
|
labels:
|
||||||
- enhancement
|
- changelog:enhancement
|
||||||
|
|
||||||
- title: 🐛 Bug fixes
|
- title: 🐛 Bug fixes
|
||||||
labels:
|
labels:
|
||||||
- bugfix
|
- changelog:bugfix
|
||||||
|
|
||||||
- title: 📚 Documentation
|
- title: 📚 Documentation
|
||||||
labels:
|
labels:
|
||||||
- documentation
|
- changelog:documentation
|
||||||
|
|
||||||
- title: 🌐 Translations
|
- title: 🌐 Translations
|
||||||
labels:
|
labels:
|
||||||
- translation
|
- changelog:translation
|
||||||
|
18
.github/workflows/pr-label-validation.yml
vendored
Normal file
18
.github/workflows/pr-label-validation.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: PR Label Validation
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, labeled, unlabeled, synchronize]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
validate-release-label:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Require PR to have a changelog label
|
||||||
|
uses: mheap/github-action-required-labels@v5
|
||||||
|
with:
|
||||||
|
mode: exactly
|
||||||
|
count: 1
|
||||||
|
use_regex: true
|
||||||
|
labels: "changelog:.*"
|
||||||
|
add_comment: true
|
Loading…
x
Reference in New Issue
Block a user