Skip to content

Commit 57c7bc6

Browse files
committed
Add analysisKinds
1 parent d52917b commit 57c7bc6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pr-checks/sync.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,19 @@ function main(): void {
189189
useAllPlatformBundle = checkSpecification.useAllPlatformBundle;
190190
}
191191

192+
if (checkSpecification.analysisKinds) {
193+
const newMatrix: Array<Record<string, any>> = [];
194+
for (const matrixInclude of matrix) {
195+
for (const analysisKind of checkSpecification.analysisKinds) {
196+
newMatrix.push({
197+
...matrixInclude,
198+
"analysis-kinds": analysisKind,
199+
});
200+
}
201+
}
202+
matrix = newMatrix;
203+
}
204+
192205
// Construct the workflow steps needed for this check.
193206
const steps: any[] = [
194207
{

0 commit comments

Comments
 (0)