Skip to content

Label Sync

Label Sync #76

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Label Sync"
on:
workflow_dispatch:
push:
branches: ["master"]
paths: [".github/labels.yaml"]
schedule:
- cron: "0 0 * * *" # Every day at midnight
jobs:
label-sync:
name: Label Sync
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
sparse-checkout: .github/labels.yaml
- name: Sync Labels
uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a # v2.3.3
with:
config-file: .github/labels.yaml
token: "${{ secrets.GITHUB_TOKEN }}"
delete-other-labels: true