name: Sync labels
# Keeps this repo's labels identical to .github/labels.yml.
# Run manually, or automatically whenever the manifest changes on main.
on:
push:
branches:
paths:
workflow_dispatch:
permissions:
issues: write
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: crazy-max/ghaction-github-labeler@v6
with:
yaml-file: .github/labels.yml
# Set to true only after confirming the manifest is complete —
# it deletes any label not listed here.
skip-delete: true
dry-run: false