Skip to content

ci: update reusable workflow #13

ci: update reusable workflow

ci: update reusable workflow #13

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Meta - Label Sync
on:
workflow_dispatch:
inputs:
dry-run:
description: "Run the action without making changes"
default: true
required: false
type: boolean
pull_request:
paths:
- ".github/configs/labels.yaml"
- ".github/workflows/meta-label-sync.yaml"
push:
branches: ["main"]
paths:
- ".github/configs/labels.yaml"
- ".github/workflows/meta-label-sync.yaml"
schedule:
- cron: "0 0 * * *" # Every day at midnight
jobs:
label-sync:
uses: mirceanton/reusable-workflows/.github/workflows/meta-label-sync.yaml@feb7161818c3ae82cd4ea25c606c1feefa19643d
secrets: inherit
with:
dry-run: ${{ github.event.inputs.dry-run || github.event_name == 'pull_request' }}
config-file: ".github/configs/labels.yaml"