Skip to content

Commit 5b42162

Browse files
authored
Add labeler workflow (#12)
1 parent 43d3ce1 commit 5b42162

File tree

2 files changed

+114
-0
lines changed

2 files changed

+114
-0
lines changed

.github/labels.yml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
---
2+
# Labels names are important as they are used by Release Drafter to decide
3+
# regarding where to record them in changelog or if to skip them.
4+
#
5+
# The repository labels will be automatically configured using this file and
6+
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
7+
- name: ':boom: breaking change'
8+
from_name: breaking
9+
description: Breaking Changes
10+
color: bfd4f2
11+
- name: ':ghost: bug'
12+
from_name: bug
13+
description: Something isn't working
14+
color: d73a4a
15+
- name: ':building_construction: build'
16+
from_name: build
17+
description: Build System and Dependencies
18+
color: bfdadc
19+
- name: ':construction_worker_woman: ci'
20+
from_name: ci
21+
description: Continuous Integration
22+
color: 4a97d6
23+
- name: ':recycle: dependencies'
24+
from_name: dependencies
25+
description: Pull requests that update a dependency file
26+
color: 0366d6
27+
- name: ':book: documentation'
28+
from_name: documentation
29+
description: Improvements or additions to documentation
30+
color: 0075ca
31+
- name: ':roll_eyes: duplicate'
32+
from_name: duplicate
33+
description: This issue or pull request already exists
34+
color: cfd3d7
35+
- name: ':rocket: feature'
36+
from_name: enhancement
37+
description: New feature or request
38+
color: a2eeef
39+
- name: ':clapper: github_actions'
40+
from_name: github_actions
41+
description: Pull requests that update Github_actions code
42+
color: '000000'
43+
- name: ':hatching_chick: good first issue'
44+
from_name: good first issue
45+
description: Good for newcomers
46+
color: 7057ff
47+
- name: ':pray: help wanted'
48+
from_name: help wanted
49+
description: Extra attention is needed
50+
color: '008672'
51+
- name: ':no_entry_sign: invalid'
52+
from_name: invalid
53+
description: This doesn't seem right
54+
color: e4e669
55+
- name: ':racing_car: performance'
56+
from_name: performance
57+
description: Performance
58+
color: '016175'
59+
- name: ':snake: python'
60+
from_name: python
61+
description: Pull requests that update Python code
62+
color: 2b67c6
63+
- name: ':question: question'
64+
from_name: question
65+
description: Further information is requested
66+
color: d876e3
67+
- name: ':sparkles: code quality'
68+
from_name: code quality
69+
description: Code quality improvements
70+
color: ef67c4
71+
- name: ':file_cabinet: deprecation'
72+
from_name: deprecation
73+
description: Removals and Deprecations
74+
color: 9ae7ea
75+
- name: ':nail_care: style'
76+
from_name: style
77+
description: Style
78+
color: c120e5
79+
- name: ':test_tube: testing'
80+
from_name: testing
81+
description: Pull request that adds tests
82+
color: b1fc6f
83+
- name: ':woman_shrugging: wontfix'
84+
from_name: wontfix
85+
description: This will not be worked on
86+
color: ffffff
87+
- name: ':arrow_up: bump'
88+
description: Bump the version
89+
color: 3C5D34
90+
- name: ':sparkles: enhancement'
91+
color: CBF8DA
92+
- name: 'skip-changelog'
93+
color: D3D3D3

.github/workflows/labeler.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Labeler
2+
3+
on: workflow_dispatch
4+
5+
permissions:
6+
actions: read
7+
contents: read
8+
security-events: write
9+
pull-requests: write
10+
11+
jobs:
12+
labeler:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Check out the repository
16+
uses: actions/checkout@v4
17+
18+
- name: Run Labeler
19+
uses: crazy-max/[email protected]
20+
with:
21+
skip-delete: true

0 commit comments

Comments
 (0)