Add workflow to sync GitHub labels from labels.yml

This commit is contained in:
SuperKali
2025-12-22 14:51:08 +01:00
parent 68a686bf41
commit eb64841a56

26
.github/workflows/labels.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Sync Labels
on:
push:
branches: [main]
paths:
- '.github/labels.yml'
workflow_dispatch:
jobs:
sync:
name: Sync labels
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Sync labels
uses: crazy-max/ghaction-github-labeler@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/labels.yml
skip-delete: false
dry-run: false