Skip to content

Commit bd0c0e0

Browse files
mithrovaughnbetz
authored andcommitted
infra: Rework labeler.yml file.
Convert to the other style of YAML lists which matches the documentation at https://github.com/actions/labeler#basic-examples and https://github.com/actions/labeler#common-examples Signed-off-by: Tim 'mithro' Ansell <[email protected]>
1 parent e77b574 commit bd0c0e0

File tree

1 file changed

+94
-24
lines changed

1 file changed

+94
-24
lines changed

.github/labeler.yml

Lines changed: 94 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,102 @@
1+
# See https://github.com/actions/labeler#common-examples for defining patterns.
2+
# The globs use "minimatch" syntax found at https://github.com/isaacs/minimatch
3+
#
4+
# WARNING: Due to this file being yaml, any string starting with `*` must be
5+
# wrapped in quotes.
6+
17
# Tools
2-
ABC: ["abc_with_bb_support", "abc"]
3-
ACE2: ["ace2"]
4-
blifexplorer: ["blifexplorer"]
5-
Odin: ["ODIN_II", "odin2_helper"]
6-
VPR: ["vpr"]
8+
ABC:
9+
- abc_with_bb_support/*
10+
- abc_with_bb_support/**/*
11+
- abc/*
12+
- abc/**/*
13+
ACE2:
14+
- ace2/*
15+
- ace2/**/*
16+
blifexplorer:
17+
- blifexplorer/*
18+
- blifexplorer/**/*
19+
Odin:
20+
- ODIN_II/*
21+
- ODIN_II/**/*
22+
- odin2_helper/*
23+
- odin2_helper/**/*
24+
VPR:
25+
- vpr/*
26+
- vpr/**/*
727

828
# Libraries
9-
libarchfpga: ["libs/libarchfpga"]
10-
libeasygl: ["libs/libeasygl"]
11-
liblog: ["libs/liblog"]
12-
libpugiutil: ["libs/libpugiutil"]
13-
libvtrutil: ["libs/libvtrutil"]
14-
external_libs: ["libs/EXTERNAL"]
29+
libarchfpga:
30+
- libs/libarchfpga/*
31+
- libs/libarchfpga/**/*
32+
libeasygl:
33+
- libs/libeasygl/*
34+
- libs/libeasygl/**/*
35+
liblog:
36+
- libs/liblog/*
37+
- libs/liblog/**/*
38+
libpugiutil:
39+
- libs/libpugiutil/*
40+
- libs/libpugiutil/**/*
41+
libvtrutil:
42+
- libs/libvtrutil/*
43+
- libs/libvtrutil/**/*
44+
external_libs:
45+
- libs/EXTERNAL/*
46+
- libs/EXTERNAL/**/*
1547

1648
# General areas
17-
docs: ["docs/", "README.md", "*.md", "tutorial", "README", "*.rst"]
18-
infra: [".travis.yml", ".travis.yml", ".travis/", "scripts/", ".github/", "Dockerfile"]
19-
build: ["Makefile", "*.make", "CMakeLists.txt", "cmake"]
20-
tests: ["*_test.py", "*test*", "*TESTS*"]
21-
scripts: ["scripts", "*.pl", "*.py", "*.sh"]
22-
VTR Flow: ["vtr_flow"]
49+
docs:
50+
- docs/*
51+
- docs/**/*
52+
- "*README*"
53+
- "*.md"
54+
- tutorial
55+
- "*.rst"
56+
infra:
57+
- "*travis*"
58+
- .github/*
59+
- .github/**/*
60+
- Dockerfile
61+
- "*docker*"
62+
build:
63+
- Makefile
64+
- "*.make"
65+
- CMakeLists.txt
66+
- cmake
67+
tests:
68+
- "*_test.py"
69+
- "*test*"
70+
- "*TESTS*"
71+
scripts:
72+
- scripts
73+
- "*.pl"
74+
- "*.py"
75+
- "*.sh"
76+
VTR Flow:
77+
- vtr_flow
2378

2479
# Tag pull requests with the languages used to make it easy to see what is
2580
# being used.
26-
lang-hdl: ["*.v", "*.sv"]
27-
lang-cpp: ["*.c*", "*.h"]
28-
lang-perl: ["*.pl", "*perl*"]
29-
lang-python: ["*.py"]
30-
lang-shell: ["*.sh"]
31-
lang-netlist: ["*.blif", "*.eblif", "*.edif"]
32-
lang-make: ["*.make", "Makefile", "CMakeLists.txt"]
81+
lang-hdl:
82+
- "*.v"
83+
- "*.sv"
84+
lang-cpp:
85+
- "*.c*"
86+
- "*.h"
87+
lang-perl:
88+
- "*.pl"
89+
- "*perl*"
90+
lang-python:
91+
- "*.py"
92+
lang-shell:
93+
- "*.sh"
94+
lang-netlist:
95+
- "*.blif"
96+
- "*.eblif"
97+
- "*.edif"
98+
- "*.vqm"
99+
lang-make:
100+
- "*.make"
101+
- Makefile
102+
- CMakeLists.txt

0 commit comments

Comments
 (0)