mirror of
https://github.com/ivuorinen/base-configs-commitlint.git
synced 2026-01-26 11:34:00 +00:00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
42 lines
979 B
YAML
42 lines
979 B
YAML
---
|
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
name: Sync Labels
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
paths:
|
|
- ".github/labels.yml"
|
|
- ".github/workflows/sync-labels.yml"
|
|
schedule:
|
|
- cron: "34 5 * * *" # Run every day at 05:34 AM UTC
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
merge_group:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
labels:
|
|
name: ♻️ Sync Labels
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
|
|
steps:
|
|
- name: ⤵️ Checkout Repository
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: ⤵️ Sync Latest Labels Definitions
|
|
uses: ivuorinen/actions/sync-labels@fb25736f7e7a438979c11764e9fe6a100278b4c5 # v2025.12.31
|