Skip to content

Sync labels

Sync labels #513

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Sync labels
on:
push:
branches:
- main
paths:
- .github/labels.yml
schedule:
- cron: "34 5 * * *"
workflow_call:
workflow_dispatch:
jobs:
labels:
name: ♻️ Sync labels
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: ⤵️ Download latest labels definitions
run: |
curl -s --retry 5 \
"https://raw.githubusercontent.com/ivuorinen/.github/main/.github/labels.yml" \
> labels.yml
- name: 🚀 Run Label Syncer
uses: micnncim/action-label-syncer@v1.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: labels.yml