forked from torrust/torrust-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 735 Bytes
/
labels.yaml
File metadata and controls
36 lines (31 loc) · 735 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
35
36
name: Labels
on:
workflow_dispatch:
push:
branches:
- develop
paths:
- "/.github/labels.json"
jobs:
export:
name: Export Existing Labels
runs-on: ubuntu-latest
steps:
- id: backup
name: Export to Workflow Artifact
uses: EndBug/export-label-config@v1
sync:
name: Synchronize Labels from Repo
needs: export
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v6
- id: sync
name: Apply Labels from File
uses: EndBug/label-sync@v2
with:
config-file: .github/labels.json
delete-other-labels: true
token: ${{ secrets.UPDATE_LABELS }}