Skip to content

Commit 53cb844

Browse files
authored
labeler (SonsOfPHP#238)
1 parent 9094e1c commit 53cb844

File tree

2 files changed

+271
-75
lines changed

2 files changed

+271
-75
lines changed

.github/labeler.yml

Lines changed: 269 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,294 @@
1-
Bard:
2-
- docs/bard/*
3-
- src/SonsOfPHP/Bard/*
1+
# -=[ Contracts ]=-
2+
assert-contract:
3+
- changed-files:
4+
- any-glob-to-any-file:
5+
- docs/contract/assert**
6+
- src/SonsOfPHP/Contract/Assert/**
47

5-
Assert:
6-
- docs/components/assert/*
7-
- src/SonsOfPHP/**/Assert/*
8+
common-contract:
9+
- changed-files:
10+
- any-glob-to-any-file:
11+
- docs/contract/common**
12+
- src/SonsOfPHP/Contract/Common/**
813

9-
Cache:
10-
- docs/components/cache/*
11-
- src/SonsOfPHP/**/Cache/*
14+
cookie-contract:
15+
- changed-files:
16+
- any-glob-to-any-file:
17+
- docs/contract/cookie**
18+
- src/SonsOfPHP/Contract/Cookie/**
1219

13-
Clock:
14-
- docs/components/clock/*
15-
- src/SonsOfPHP/**/Clock/*
20+
cqrs-contract:
21+
- changed-files:
22+
- any-glob-to-any-file:
23+
- docs/contract/cqrs**
24+
- src/SonsOfPHP/Contract/Cqrs/**
1625

17-
Container:
18-
- docs/components/container/*
19-
- src/SonsOfPHP/**/Container/*
26+
event-sourcing-contract:
27+
- changed-files:
28+
- any-glob-to-any-file:
29+
- docs/contract/event-sourcing**
30+
- src/SonsOfPHP/Contract/EventSourcing/**
2031

21-
Cookie:
22-
- docs/components/cookie/*
23-
- src/SonsOfPHP/**/Cookie/*
32+
feature-toggle-contract:
33+
- changed-files:
34+
- any-glob-to-any-file:
35+
- docs/contract/feature-toggle**
36+
- src/SonsOfPHP/Contract/FeatureToggle/**
2437

25-
Common:
26-
- docs/components/common/*
27-
- src/SonsOfPHP/**/Common/*
38+
filesystem-contract:
39+
- changed-files:
40+
- any-glob-to-any-file:
41+
- docs/contract/filesystem**
42+
- src/SonsOfPHP/Contract/Filesystem/**
2843

29-
CQRS:
30-
- docs/components/cqrs/*
31-
- src/SonsOfPHP/**/Cqrs/*
44+
gateway-contract:
45+
- changed-files:
46+
- any-glob-to-any-file:
47+
- docs/contract/gateway**
48+
- src/SonsOfPHP/Contract/Gateway/**
3249

33-
EventDispatcher:
34-
- docs/components/event-dispatcher/*
35-
- src/SonsOfPHP/**/EventDispatcher/*
50+
http-handler-contract:
51+
- changed-files:
52+
- any-glob-to-any-file:
53+
- docs/contract/http-handler**
54+
- src/SonsOfPHP/Contract/HttpHandler/**
3655

37-
EventSourcing:
38-
- docs/components/event-sourcing/*
39-
- src/SonsOfPHP/**/EventSourcing/*
56+
logger-contract:
57+
- changed-files:
58+
- any-glob-to-any-file:
59+
- docs/contract/logger**
60+
- src/SonsOfPHP/Contract/Logger/**
4061

41-
FeatureToggle:
42-
- docs/components/feature-toggle/*
43-
- src/SonsOfPHP/**/FeatureToggle/*
62+
mailer-contract:
63+
- changed-files:
64+
- any-glob-to-any-file:
65+
- docs/contract/mailer**
66+
- src/SonsOfPHP/Contract/Mailer/**
4467

45-
Filesystem:
46-
- docs/components/filesystem/*
47-
- src/SonsOfPHP/**/Filesystem/*
68+
money-contract:
69+
- changed-files:
70+
- any-glob-to-any-file:
71+
- docs/contract/money**
72+
- src/SonsOfPHP/Contract/Money/**
4873

49-
HttpFactory:
50-
- docs/components/http-factory/*
51-
- src/SonsOfPHP/**/HttpFactory/*
74+
pager-contract:
75+
- changed-files:
76+
- any-glob-to-any-file:
77+
- docs/contract/pager**
78+
- src/SonsOfPHP/Contract/Pager/**
5279

53-
HttpHandler:
54-
- docs/components/http-handler/*
55-
- src/SonsOfPHP/**/HttpHandler/*
80+
registry-contract:
81+
- changed-files:
82+
- any-glob-to-any-file:
83+
- docs/contract/registry**
84+
- src/SonsOfPHP/Contract/Registry/**
5685

57-
HttpMessage:
58-
- docs/components/http-message/*
59-
- src/SonsOfPHP/**/HttpMessage/*
86+
state-machine-contract:
87+
- changed-files:
88+
- any-glob-to-any-file:
89+
- docs/contract/state-machine**
90+
- src/SonsOfPHP/Contract/StateMachine/**
6091

61-
JSON:
62-
- docs/components/json/*
63-
- src/SonsOfPHP/**/Json/*
92+
stdlib-contract:
93+
- changed-files:
94+
- any-glob-to-any-file:
95+
- docs/contract/stdlib**
96+
- src/SonsOfPHP/Contract/Stdlib/**
6497

65-
Link:
66-
- docs/components/link/*
67-
- src/SonsOfPHP/**/Link/*
98+
version-contract:
99+
- changed-files:
100+
- any-glob-to-any-file:
101+
- docs/contract/version**
102+
- src/SonsOfPHP/Contract/Version/**
68103

69-
Logger:
70-
- docs/components/logger/*
71-
- src/SonsOfPHP/**/Logger/*
104+
# -=[ Components ]=-
105+
assert:
106+
- changed-files:
107+
- any-glob-to-any-file:
108+
- docs/component/assert**
109+
- src/SonsOfPHP/Component/Assert/**
72110

73-
Mailer:
74-
- docs/components/mailer/*
75-
- src/SonsOfPHP/**/Mailer/*
111+
cache:
112+
- changed-files:
113+
- any-glob-to-any-file:
114+
- docs/component/cache**
115+
- src/SonsOfPHP/Component/Cache/**
76116

77-
Money:
78-
- docs/components/money/*
79-
- src/SonsOfPHP/**/Money/*
117+
clock:
118+
- changed-files:
119+
- any-glob-to-any-file:
120+
- docs/component/clock**
121+
- src/SonsOfPHP/Component/Clock/**
80122

81-
Pager:
82-
- docs/components/pager/*
83-
- src/SonsOfPHP/**/Pager/*
123+
container:
124+
- changed-files:
125+
- any-glob-to-any-file:
126+
- docs/component/container**
127+
- src/SonsOfPHP/Component/Container/**
84128

85-
StateMachine:
86-
- docs/components/state-machine/*
87-
- src/SonsOfPHP/**/StateMachine/*
129+
cookie:
130+
- changed-files:
131+
- any-glob-to-any-file:
132+
- docs/component/cookie**
133+
- src/SonsOfPHP/Component/Cookie/**
88134

89-
Version:
90-
- docs/components/version/*
91-
- src/SonsOfPHP/**/Version/*
135+
cqrs:
136+
- changed-files:
137+
- any-glob-to-any-file:
138+
- docs/component/cqrs**
139+
- src/SonsOfPHP/Component/Cqrs/**
92140

93-
Contracts:
94-
- docs/contracts/**
95-
- src/SonsOfPHP/Contract/**
141+
event-dispatcher:
142+
- changed-files:
143+
- any-glob-to-any-file:
144+
- docs/component/event-dispatcher**
145+
- src/SonsOfPHP/Component/EventDispatcher/**
96146

147+
event-sourcing:
148+
- changed-files:
149+
- any-glob-to-any-file:
150+
- docs/component/event-sourcing**
151+
- src/SonsOfPHP/Component/EventSourcing/**
152+
153+
feature-toggle:
154+
- changed-files:
155+
- any-glob-to-any-file:
156+
- docs/component/feature-toggle**
157+
- src/SonsOfPHP/Component/FeatureToggle/**
158+
159+
filesystem:
160+
- changed-files:
161+
- any-glob-to-any-file:
162+
- docs/component/filesystem**
163+
- src/SonsOfPHP/Component/Filesystem/**
164+
165+
http-factory:
166+
- changed-files:
167+
- any-glob-to-any-file:
168+
- docs/component/http-factory**
169+
- src/SonsOfPHP/Component/HttpFactory/**
170+
171+
http-handler:
172+
- changed-files:
173+
- any-glob-to-any-file:
174+
- docs/component/http-handler**
175+
- src/SonsOfPHP/Component/HttpHandler/**
176+
177+
http-message:
178+
- changed-files:
179+
- any-glob-to-any-file:
180+
- docs/component/http-message**
181+
- src/SonsOfPHP/Component/HttpMessage/**
182+
183+
json:
184+
- changed-files:
185+
- any-glob-to-any-file:
186+
- docs/component/json**
187+
- src/SonsOfPHP/Component/Json/**
188+
189+
logger:
190+
- changed-files:
191+
- any-glob-to-any-file:
192+
- docs/component/logger**
193+
- src/SonsOfPHP/Component/Logger/**
194+
195+
mailer:
196+
- changed-files:
197+
- any-glob-to-any-file:
198+
- docs/component/mailer**
199+
- src/SonsOfPHP/Component/Mailer/**
200+
201+
money:
202+
- changed-files:
203+
- any-glob-to-any-file:
204+
- docs/component/money**
205+
- src/SonsOfPHP/Component/Money/**
206+
207+
pager:
208+
- changed-files:
209+
- any-glob-to-any-file:
210+
- docs/component/pager**
211+
- src/SonsOfPHP/Component/Pager/**
212+
213+
registry:
214+
- changed-files:
215+
- any-glob-to-any-file:
216+
- docs/component/registry**
217+
- src/SonsOfPHP/Component/Registry/**
218+
219+
state-machine:
220+
- changed-files:
221+
- any-glob-to-any-file:
222+
- docs/component/state-machine**
223+
- src/SonsOfPHP/Component/StateMachine/**
224+
225+
version:
226+
- changed-files:
227+
- any-glob-to-any-file:
228+
- docs/component/version**
229+
- src/SonsOfPHP/Component/Version/**
230+
231+
# -=[ Bridges ]=-
232+
cqrs-symfony:
233+
- changed-files:
234+
- any-glob-to-any-file: src/SonsOfPHP/Bridge/Symfony/Cqrs/**
235+
236+
event-sourcing-doctrine:
237+
- changed-files:
238+
- any-glob-to-any-file: src/SonsOfPHP/Bridge/Doctrine/EventSourcing/**
239+
240+
event-sourcing-symfony:
241+
- changed-files:
242+
- any-glob-to-any-file: src/SonsOfPHP/Bridge/Symfony/EventSourcing/**
243+
244+
filesystem-aws:
245+
- changed-files:
246+
- any-glob-to-any-file: src/SonsOfPHP/Bridge/Aws/Filesystem/**
247+
248+
filesystem-liip-imagine:
249+
- changed-files:
250+
- any-glob-to-any-file: src/SonsOfPHP/Bridge/LiipImagine/Filesystem/**
251+
252+
money-twig:
253+
- changed-files:
254+
- any-glob-to-any-file: src/SonsOfPHP/Bridge/Twig/Money/**
255+
256+
pager-doctrine-collections:
257+
- changed-files:
258+
- any-glob-to-any-file: src/SonsOfPHP/Bridge/Doctrine/Collections/Pager/**
259+
260+
pager-doctrine-dbal:
261+
- changed-files:
262+
- any-glob-to-any-file: src/SonsOfPHP/Bridge/Doctrine/Dbal/Pager/**
263+
264+
pager-doctrine-orm:
265+
- changed-files:
266+
- any-glob-to-any-file: src/SonsOfPHP/Bridge/Doctrine/Orm/Pager/**
267+
268+
# -=[ Projects ]=-
269+
bard:
270+
- changed-files:
271+
- any-glob-to-any-file:
272+
- docs/bard/**
273+
- src/SonsOfPHP/Bard/**
274+
275+
# -=[ Bundles ]=-
276+
feature-toggle-bundle:
277+
- changed-files:
278+
- any-glob-to-any-file: src/SonsOfPHP/Bundle/FeatureToggleBundle/**
279+
280+
# -=[ Others ]=-
97281
documentation:
98-
- docs/**
282+
- changed-files:
283+
- any-glob-to-any-file: docs/**
284+
285+
tools:
286+
- changed-files:
287+
- any-glob-to-any-file:
288+
- tools/**
289+
- .php-cs-fixer.dist.php
290+
- churn.yml
291+
- infection.json5
292+
- phpunit.xml.dist
293+
- psalm.xml
294+
- rector.php

.github/workflows/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ on:
33
- pull_request_target
44

55
jobs:
6-
triage:
6+
labeler:
77
permissions:
88
contents: read
99
pull-requests: write
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: actions/labeler@v4
13+
- uses: actions/labeler@v5
1414
with:
1515
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1616
sync-labels: true

0 commit comments

Comments
 (0)