-
Notifications
You must be signed in to change notification settings - Fork 26
39 lines (33 loc) · 1.01 KB
/
LabelSyncer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This workflow syncs GitHub labels to the integrating repository.
#
# The labels are declaratively defined in .github/Labels.yml.
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
# For more information, see:
# https://github.com/EndBug/label-sync
name: Mu DevOps Git Label Sync Workflow
on:
workflow_call:
inputs:
# Note: The caller can set a command to an empty string to skip that command
local_config_file:
description: 'Repo relative path to a repo-specific label config file'
default: ''
required: false
type: string
jobs:
sync:
name: Sync
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Sync Labels
uses: EndBug/label-sync@v2
with:
config-file: |
https://raw.githubusercontent.com/microsoft/mu_devops/main/.github/Labels.yml
${{ inputs.local_config_file }}
delete-other-labels: false