Files
ivuorinen/.github/workflows/sync-labels.yml
renovate[bot] d4f7f8dcef chore(deps): pin dependencies (#15)
* chore(deps): pin dependencies

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(ci): labels.yaml indentation

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ismo Vuorinen <ismo@ivuorinen.net>
2025-02-09 20:43:22 +02:00

34 lines
837 B
YAML

---
# 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