Skip to content

Commit 5cfae43

Browse files
committed
[CI] Update to labeler v5
1 parent 6671988 commit 5cfae43

2 files changed

Lines changed: 77 additions & 33 deletions

File tree

.github/labeler.yml

Lines changed: 76 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,84 @@
1-
'task:all':
2-
- "tasks/**/all"
3-
'task:mpi':
4-
- "tasks/**/mpi"
5-
'task:omp':
6-
- "tasks/**/omp"
7-
'task:seq':
8-
- "tasks/**/seq"
9-
'task:stl':
10-
- "tasks/**/stl"
11-
'task:tbb':
12-
- "tasks/**/tbb"
1+
"task:all":
2+
- changed-files:
3+
- any-glob-to-any-file:
4+
- "tasks/**/all"
5+
6+
"task:mpi":
7+
- changed-files:
8+
- any-glob-to-any-file:
9+
- "tasks/**/mpi"
10+
11+
"task:omp":
12+
- changed-files:
13+
- any-glob-to-any-file:
14+
- "tasks/**/omp"
15+
16+
"task:seq":
17+
- changed-files:
18+
- any-glob-to-any-file:
19+
- "tasks/**/seq"
20+
21+
"task:stl":
22+
- changed-files:
23+
- any-glob-to-any-file:
24+
- "tasks/**/stl"
25+
26+
"task:tbb":
27+
- changed-files:
28+
- any-glob-to-any-file:
29+
- "tasks/**/tbb"
30+
1331
task:
14-
- "tasks/**"
32+
- changed-files:
33+
- any-glob-to-any-file:
34+
- "tasks/**"
35+
1536
ci:
16-
- ".github/**"
17-
- "appveyor.yml"
37+
- changed-files:
38+
- any-glob-to-any-file:
39+
- ".github/**"
40+
- "appveyor.yml"
41+
1842
core:
19-
- "modules/core/**"
43+
- changed-files:
44+
- any-glob-to-any-file:
45+
- "modules/core/**"
46+
2047
samples:
21-
- "modules/ref/**"
22-
3rdparty:
23-
- "3rdparty/**"
48+
- changed-files:
49+
- any-glob-to-any-file:
50+
- "modules/ref/**"
51+
52+
"3rdparty":
53+
- changed-files:
54+
- any-glob-to-any-file:
55+
- "3rdparty/**"
56+
2457
infrastructure:
25-
- "scripts/**"
26-
- "**/CMakeLists.txt"
27-
- "cmake/**"
28-
- ".clang-format"
29-
- ".clang-tidy"
30-
- ".gitignore"
31-
- ".gitmodules"
32-
- "codecov.yml"
33-
- "setup.cfg"
58+
- changed-files:
59+
- any-glob-to-any-file:
60+
- "scripts/**"
61+
- "**/CMakeLists.txt"
62+
- "cmake/**"
63+
- ".clang-format"
64+
- ".clang-tidy"
65+
- ".gitignore"
66+
- ".gitmodules"
67+
- "codecov.yml"
68+
- "setup.cfg"
69+
3470
python:
35-
- "**/requirements.txt"
71+
- changed-files:
72+
- any-glob-to-any-file:
73+
- "**/requirements.txt"
74+
3675
docs:
37-
- "docs/**"
38-
- "README.md"
76+
- changed-files:
77+
- any-glob-to-any-file:
78+
- "docs/**"
79+
- "README.md"
80+
3981
scoreboard:
40-
- "scoreboard/**"
82+
- changed-files:
83+
- any-glob-to-any-file:
84+
- "scoreboard/**"

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717
- name: Apply labels based on changed files
18-
uses: actions/labeler@v4
18+
uses: actions/labeler@v5
1919
with:
2020
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2121
configuration-path: ".github/labeler.yml"

0 commit comments

Comments
 (0)