Skip to content

feat: add GitHub Actions workflow to sync labels across repositories #1

feat: add GitHub Actions workflow to sync labels across repositories

feat: add GitHub Actions workflow to sync labels across repositories #1

Workflow file for this run

# Syncs labels from this repo to all user-facing repos in the org.
# Run manually or on push to labels.yml.
name: Sync labels
on:
workflow_dispatch: # manual trigger
push:
paths:
- '.github/labels.yml'
jobs:
sync:
runs-on: ubuntu-latest
strategy:
matrix:
repo:
- profilarr
- database
- website
- schema
- rosettarr
- database-template
steps:
- uses: actions/checkout@v4
- uses: EndBug/label-sync@v2
with:
config-file: .github/labels.yml
repository: Dictionarry-Hub/${{ matrix.repo }}
delete-other-labels: false
token: ${{ secrets.LABEL_SYNC_TOKEN }}