--- # 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/ivuorinen/main/.github/labels.yml" \ > labels.yml - name: 🚀 Run Label Syncer uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: manifest: labels.yml