mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 15:38:24 -08:00
* Update pr-label-validation.yml * Update pr-labeler.yml * Update prepare-release.yml * Update preview-label.yaml * Update sdk.yml * Update static_analysis.yml * Update test.yml * Update weblate-lock.yml * Update build-mobile.yml * Update cache-cleanup.yml * Update cli.yml * Update codeql-analysis.yml * Update docker.yml * Update docs-build.yml * Update docs-deploy.yml * Update docs-destroy.yml * Update fix-format.yml
25 lines
777 B
YAML
25 lines
777 B
YAML
name: PR Label Validation
|
|
|
|
on:
|
|
pull_request_target: # zizmor: ignore[dangerous-triggers] no attacker inputs are used here
|
|
types: [opened, labeled, unlabeled, synchronize]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
validate-release-label:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- name: Require PR to have a changelog label
|
|
uses: mheap/github-action-required-labels@388fd6af37b34cdfe5a23b37060e763217e58b03 # v5.5.0
|
|
with:
|
|
mode: exactly
|
|
count: 1
|
|
use_regex: true
|
|
labels: 'changelog:.*'
|
|
add_comment: true
|
|
message: 'Label error. Requires {{errorString}} {{count}} of: {{ provided }}. Found: {{ applied }}. A maintainer will add the required label.'
|