Skip to content

Commit 0e321e6

Browse files
authored
[CI] Update to actions/labeler@v5 (#515)
1 parent 73c34b5 commit 0e321e6

File tree

2 files changed

+89
-39
lines changed

2 files changed

+89
-39
lines changed

.github/labeler.yml

Lines changed: 88 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,94 @@
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"
18-
'modules:performance':
19-
- "modules/performance/**"
20-
'modules:runners':
21-
- "modules/runners/**"
22-
'modules:task':
23-
- "modules/task/**"
24-
'modules:util':
25-
- "modules/util/**"
26-
3rdparty:
27-
- "3rdparty/**"
37+
- changed-files:
38+
- any-glob-to-any-file:
39+
- ".github/**"
40+
- "appveyor.yml"
41+
42+
"modules:performance":
43+
- changed-files:
44+
- any-glob-to-any-file:
45+
- "modules/performance/**"
46+
47+
"modules:runners":
48+
- changed-files:
49+
- any-glob-to-any-file:
50+
- "modules/runners/**"
51+
52+
"modules:task":
53+
- changed-files:
54+
- any-glob-to-any-file:
55+
- "modules/task/**"
56+
57+
"modules:util":
58+
- changed-files:
59+
- any-glob-to-any-file:
60+
- "modules/util/**"
61+
62+
"3rdparty":
63+
- changed-files:
64+
- any-glob-to-any-file:
65+
- "3rdparty/**"
66+
2867
infrastructure:
29-
- "scripts/**"
30-
- "**/CMakeLists.txt"
31-
- "cmake/**"
32-
- ".clang-format"
33-
- ".clang-tidy"
34-
- ".gitignore"
35-
- ".gitmodules"
36-
- "codecov.yml"
37-
- "setup.cfg"
68+
- changed-files:
69+
- any-glob-to-any-file:
70+
- "scripts/**"
71+
- "**/CMakeLists.txt"
72+
- "cmake/**"
73+
- ".clang-format"
74+
- ".clang-tidy"
75+
- ".gitignore"
76+
- ".gitmodules"
77+
- "codecov.yml"
78+
- "setup.cfg"
79+
3880
python:
39-
- "**/requirements.txt"
81+
- changed-files:
82+
- any-glob-to-any-file:
83+
- "**/requirements.txt"
84+
4085
docs:
41-
- "docs/**"
42-
- "README.md"
86+
- changed-files:
87+
- any-glob-to-any-file:
88+
- "docs/**"
89+
- "README.md"
90+
4391
scoreboard:
44-
- "scoreboard/**"
92+
- changed-files:
93+
- any-glob-to-any-file:
94+
- "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)