-
Notifications
You must be signed in to change notification settings - Fork 11
34 lines (30 loc) · 819 Bytes
/
label-sync.yaml
File metadata and controls
34 lines (30 loc) · 819 Bytes
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
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Meta - Sync labels
on: # yamllint disable-line rule:truthy
workflow_dispatch:
push:
branches:
- main
paths:
- ".github/labels.yaml"
permissions:
contents: read
jobs:
labels:
name: Sync Labels
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
sparse-checkout: .github/labels.yaml
persist-credentials: false
- name: Sync Labels
uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a # v2.3.3
with:
config-file: .github/labels.yaml
delete-other-labels: true