Skip to content

Commit 4e26e5b

Browse files
authored
chore: add support for labeler workflow (#1389)
1 parent 6482a07 commit 4e26e5b

File tree

2 files changed

+134
-0
lines changed

2 files changed

+134
-0
lines changed

.github/labeler.yml

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
account:
2+
- changed-files:
3+
- any-glob-to-any-file:
4+
- packages/clients/src/api/account/**
5+
6+
apple-silicon:
7+
- changed-files:
8+
- any-glob-to-any-file:
9+
- packages/clients/src/api/applesilicon/**
10+
11+
baremetal:
12+
- changed-files:
13+
- any-glob-to-any-file:
14+
- packages/clients/src/api/baremetal/**
15+
16+
billing:
17+
- changed-files:
18+
- any-glob-to-any-file:
19+
- packages/clients/src/api/billing/**
20+
21+
container:
22+
- changed-files:
23+
- any-glob-to-any-file:
24+
- packages/clients/src/api/container/**
25+
26+
domain:
27+
- changed-files:
28+
- any-glob-to-any-file:
29+
- packages/clients/src/api/domain/**
30+
31+
flexible-ip:
32+
- changed-files:
33+
- any-glob-to-any-file:
34+
- packages/clients/src/api/flexibleip/**
35+
36+
function:
37+
- changed-files:
38+
- any-glob-to-any-file:
39+
- packages/clients/src/api/function/**
40+
41+
iam:
42+
- changed-files:
43+
- any-glob-to-any-file:
44+
- packages/clients/src/api/iam/**
45+
46+
instance:
47+
- changed-files:
48+
- any-glob-to-any-file:
49+
- packages/clients/src/api/instance/**
50+
51+
iot:
52+
- changed-files:
53+
- any-glob-to-any-file:
54+
- packages/clients/src/api/iot/**
55+
56+
k8s:
57+
- changed-files:
58+
- any-glob-to-any-file:
59+
- packages/clients/src/api/k8s/**
60+
61+
load-balancer:
62+
- changed-files:
63+
- any-glob-to-any-file:
64+
- packages/clients/src/api/lb/**
65+
66+
mnq:
67+
- changed-files:
68+
- any-glob-to-any-file:
69+
- packages/clients/src/api/mnq/**
70+
71+
object:
72+
- changed-files:
73+
- any-glob-to-any-file:
74+
- packages/clients/src/api/object/**
75+
76+
rdb:
77+
- changed-files:
78+
- any-glob-to-any-file:
79+
- packages/clients/src/api/rdb/**
80+
81+
redis:
82+
- changed-files:
83+
- any-glob-to-any-file:
84+
- packages/clients/src/api/redis/**
85+
86+
registry:
87+
- changed-files:
88+
- any-glob-to-any-file:
89+
- packages/clients/src/api/registry/**
90+
91+
sdb:
92+
- changed-files:
93+
- any-glob-to-any-file:
94+
- packages/clients/src/api/sdb/**
95+
96+
secret:
97+
- changed-files:
98+
- any-glob-to-any-file:
99+
- packages/clients/src/api/secret/**
100+
101+
tem:
102+
- changed-files:
103+
- any-glob-to-any-file:
104+
- packages/clients/src/api/tem/**
105+
106+
vpc:
107+
- changed-files:
108+
- any-glob-to-any-file:
109+
- packages/clients/src/api/vpc/**
110+
111+
vpcgw:
112+
- changed-files:
113+
- any-glob-to-any-file:
114+
- packages/clients/src/api/vpcgw/**
115+
116+
webhosting:
117+
- changed-files:
118+
- any-glob-to-any-file:
119+
- packages/clients/src/api/webhosting/**

.github/workflows/labeler.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
jobs:
6+
labeler:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Labeler
15+
uses: actions/labeler@v5

0 commit comments

Comments
 (0)