Skip to content

ci: Update workflows and tool configs #6

ci: Update workflows and tool configs

ci: Update workflows and tool configs #6

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Label Sync
on:
# Manual Trigger
workflow_dispatch:
inputs:
dry-run:
description: Dry Run
default: true
required: false
type: boolean
# Dry Run on any PR that changes the labels config or the workflow
pull_request:
paths:
- .github/workflows/label-sync.yaml
- .github/labels.yaml
# "Wet" Run on any push to the main branch that changes the labels config or the workflow
push:
branches: ["main", "master"]
paths:
- .github/workflows/label-sync.yaml
- .github/labels.yaml
# "Wet" Run daily hourly
schedule:
- cron: "0 * * * *"
jobs:
label-sync:
uses: mirceanton/reusable-workflows/.github/workflows/reusable-label-sync.yaml@b15f79125a97349d2f1043d1556d6e3cebae2227 # v3.4.5
secrets: inherit
with:
dry-run: ${{ inputs.dry-run || github.event_name == 'pull_request' }}
config-file: .github/labels.yaml