Skip to content

Commit 0b2a758

Browse files
Add sync label workflow
1 parent 572df81 commit 0b2a758

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed

.github/labels.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
- name: bug
2+
description: bug to fix
3+
color: fbca04
4+
- name: community
5+
description: regarding the project community or sponsors
6+
color: 4654f2
7+
- name: core
8+
description: core code structure or architecture
9+
color: 00209a
10+
- name: critical
11+
description: critical failure to fix as soon as possible
12+
color: d93f0b
13+
- name: dependencies
14+
description: update/upgrade one or more dependency
15+
color: 0366d6
16+
- name: design
17+
description: design request
18+
color: ea4c88
19+
- name: documentation
20+
description: regarding the project documentation
21+
color: 27d19b
22+
- name: feature
23+
description: feature request to implement
24+
color: 1d76db
25+
- name: help
26+
description: need help, any contribution are welcome
27+
color: 5319e7
28+
- name: motion
29+
description: motion request
30+
color: 32deca
31+
- name: optimization
32+
description: optimization request
33+
color: 128a0c
34+
- name: post-it
35+
description: reminder or todo
36+
color: fcf49c
37+
- name: support
38+
description: regarding the environment or target platform
39+
color: f1f1f1
40+
- name: wontfix
41+
description: negligible issue or that will never be fixed
42+
color: 444444

.github/workflows/sync-labels.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Github workflow to automatically sync labels in a declarative way
2+
# https://github.com/micnncim/action-label-syncer
3+
4+
name: Sync labels
5+
6+
on:
7+
push:
8+
branches:
9+
- master
10+
paths:
11+
- .github/labels.yml
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: micnncim/action-label-syncer@v1
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
manifest: .github/labels.yml

0 commit comments

Comments
 (0)