Skip to content

Commit 2889b56

Browse files
authored
[AURON #2413] fix(ci): adapt labeler.yml to actions/labeler v7 (#2414)
# Which issue does this PR close? Closes #2413. # Rationale for this change #2410 bumped `actions/labeler` from v6 to v7, which brought `js-yaml` `^5.1.0`. js-yaml 5.x enforces stricter indentation on multi-line flow sequences and rejects the current `.github/labeler.yml` with `YAMLException: deficient indentation (27:7)`, so the `triage` check now fails on PRs that run after that bump. # What changes are included in this PR? Rewrite the glob lists in `.github/labeler.yml` from multi-line flow sequences (`[ ... ]`) to block sequences, for all 17 label entries. The label names and glob patterns are unchanged; only the YAML list style changes. Verified with `js-yaml` 5.2.1 (the version labeler v7 resolves): the current file throws `deficient indentation (27:7)`, and the updated file parses cleanly into the same 17 labels and 36 glob patterns. # Are there any user-facing changes? No. This is a CI configuration fix. # How was this patch tested? Loaded both the old and new `.github/labeler.yml` with `js-yaml` 5.2.1. The old file reproduces the CI error; the new file parses without error and yields identical label-to-glob mappings. # Note The `triage` check on this PR is expected to fail until this is merged. The labeler workflow runs on `pull_request_target` and reads `.github/labeler.yml` from the base branch (master), not from the PR, so it still sees the current file until the fix lands on master.
1 parent f419ad5 commit 2889b56

1 file changed

Lines changed: 51 additions & 68 deletions

File tree

.github/labeler.yml

Lines changed: 51 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -17,119 +17,102 @@
1717

1818
infra:
1919
- changed-files:
20-
- any-glob-to-any-file: [
21-
".github/**",
22-
".asf.yaml",
23-
".rat-excludes",
24-
".gitattributes",
25-
".gitignore",
26-
".gitmodules"
27-
]
20+
- any-glob-to-any-file:
21+
- ".github/**"
22+
- ".asf.yaml"
23+
- ".rat-excludes"
24+
- ".gitattributes"
25+
- ".gitignore"
26+
- ".gitmodules"
2827

2928
build:
3029
- changed-files:
31-
- any-glob-to-any-file: [
32-
"build/**",
33-
"**/*pom.xml",
34-
"Cargo.toml",
35-
"Cargo.lock",
36-
"auron-build.sh",
37-
"rust-toolchain.toml",
38-
"rustfmt.toml",
39-
"scalafix.conf",
40-
"scalafmt.conf"
41-
]
30+
- any-glob-to-any-file:
31+
- "build/**"
32+
- "**/*pom.xml"
33+
- "Cargo.toml"
34+
- "Cargo.lock"
35+
- "auron-build.sh"
36+
- "rust-toolchain.toml"
37+
- "rustfmt.toml"
38+
- "scalafix.conf"
39+
- "scalafmt.conf"
4240

4341
documentation:
4442
- changed-files:
45-
- any-glob-to-any-file: [
46-
"**/*.md",
47-
"LICENSE"
48-
]
43+
- any-glob-to-any-file:
44+
- "**/*.md"
45+
- "LICENSE"
4946

5047
core:
5148
- changed-files:
52-
- any-glob-to-any-file: [
53-
"auron-core/**"
54-
]
49+
- any-glob-to-any-file:
50+
- "auron-core/**"
5551

5652
common:
5753
- changed-files:
58-
- any-glob-to-any-file: [
59-
"common/**"
60-
]
54+
- any-glob-to-any-file:
55+
- "common/**"
6156

6257
native:
6358
- changed-files:
64-
- any-glob-to-any-file: [
65-
"native-engine/**"
66-
]
59+
- any-glob-to-any-file:
60+
- "native-engine/**"
6761

6862
hadoop:
6963
- changed-files:
70-
- any-glob-to-any-file: [
71-
"hadoop-shim/**"
72-
]
64+
- any-glob-to-any-file:
65+
- "hadoop-shim/**"
7366

7467
spark:
7568
- changed-files:
76-
- any-glob-to-any-file: [
77-
"spark-extension/**",
78-
"spark-extension-shims-spark/**",
79-
"spark-version-annotation-macros/**"
80-
]
69+
- any-glob-to-any-file:
70+
- "spark-extension/**"
71+
- "spark-extension-shims-spark/**"
72+
- "spark-version-annotation-macros/**"
8173

8274
spark-ui:
8375
- changed-files:
84-
- any-glob-to-any-file: [
85-
"auron-spark-ui/**"
86-
]
76+
- any-glob-to-any-file:
77+
- "auron-spark-ui/**"
8778

8879
spark-tests:
8980
- changed-files:
90-
- any-glob-to-any-file: [
91-
"auron-spark-tests/**"
92-
]
81+
- any-glob-to-any-file:
82+
- "auron-spark-tests/**"
9383

9484
flink:
9585
- changed-files:
96-
- any-glob-to-any-file: [
97-
"auron-flink-extension/**"
98-
]
86+
- any-glob-to-any-file:
87+
- "auron-flink-extension/**"
9988

10089
thirdparty-celeborn:
10190
- changed-files:
102-
- any-glob-to-any-file: [
103-
"thirdparty/auron-celeborn-*/**"
104-
]
91+
- any-glob-to-any-file:
92+
- "thirdparty/auron-celeborn-*/**"
10593

10694
thirdparty-uniffle:
10795
- changed-files:
108-
- any-glob-to-any-file: [
109-
"thirdparty/auron-uniffle/**"
110-
]
96+
- any-glob-to-any-file:
97+
- "thirdparty/auron-uniffle/**"
11198

11299
thirdparty-paimon:
113100
- changed-files:
114-
- any-glob-to-any-file: [
115-
"thirdparty/auron-paimon/**"
116-
]
101+
- any-glob-to-any-file:
102+
- "thirdparty/auron-paimon/**"
117103

118104
thirdparty-iceberg:
119105
- changed-files:
120-
- any-glob-to-any-file: [
121-
"thirdparty/auron-iceberg/**"
122-
]
106+
- any-glob-to-any-file:
107+
- "thirdparty/auron-iceberg/**"
123108

124109
dev-tools:
125110
- changed-files:
126-
- any-glob-to-any-file: [
127-
"dev/**",
128-
".idea/**"
129-
]
111+
- any-glob-to-any-file:
112+
- "dev/**"
113+
- ".idea/**"
130114

131115
benchmark:
132116
- changed-files:
133-
- any-glob-to-any-file: [
134-
"benchmark-results/**"
135-
]
117+
- any-glob-to-any-file:
118+
- "benchmark-results/**"

0 commit comments

Comments
 (0)