mirror of
https://github.com/ivuorinen/ivuorinen.git
synced 2026-03-18 10:02:59 +00:00
* 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>
34 lines
837 B
YAML
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
|