feat: add GitHub Actions workflows for code quality and automation (#2)

This commit is contained in:
2025-02-02 00:42:19 +02:00
committed by GitHub
parent af6ecdf6ca
commit 210aa969b3
105 changed files with 8807 additions and 408 deletions

33
sync-labels/action.yml Normal file
View File

@@ -0,0 +1,33 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-action.json
name: Sync labels
description: Sync labels from a YAML file to a GitHub repository
author: Ismo Vuorinen
inputs:
labels:
description: 'Path to the labels YAML file'
required: true
default: 'labels.yml'
outputs:
labels:
description: 'Path to the labels YAML file'
value: ${{ inputs.labels }}
runs:
using: 'composite'
steps:
- name: ⤵️ Download latest labels definitions
shell: bash
run: |
curl -s --retry 5 \
"https://raw.githubusercontent.com/ivuorinen/actions/refs/heads/main/sync-labels/labels.yml" \
> ${{ inputs.labels }}
- name: 🚀 Run Label Syncer
uses: micnncim/action-label-syncer@v1.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: ${{ inputs.labels }}