-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (42 loc) ยท 1.38 KB
/
type-labeler.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
40
41
42
43
44
45
46
47
48
49
name: PR labeler
on:
pull_request:
types:
- opened
jobs:
add_label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: add โจ feat label
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.event.pull_request.title, 'feat:') }}
with:
labels: โจ feat
- name: add ๐ fix label
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.event.pull_request.title, 'fix:') }}
with:
labels: ๐ fix
- name: add ๐จ refactor label
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.event.pull_request.title, 'refactor:') }}
with:
labels: ๐จ refactor
- name: add โ๏ธ chore label
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.event.pull_request.title, 'chore:') }}
with:
labels: โ๏ธ chore
- name: add ๐งช๏ธ test label
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.event.pull_request.title, 'test:') }}
with:
labels: ๐งช๏ธ test
- name: add ๐ docs label
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.event.pull_request.title, 'docs:') }}
with:
labels: ๐ docs