diff --git a/scripts/check-terraform-isolation.test.mjs b/scripts/check-terraform-isolation.test.mjs index 9ddd0023..45c18fc8 100644 --- a/scripts/check-terraform-isolation.test.mjs +++ b/scripts/check-terraform-isolation.test.mjs @@ -157,7 +157,7 @@ test("isolation workflow re-evaluates on labeled and unlabeled without rerunning const isolationYaml = readFileSync(path.join(workflows, "terraform-isolation.yaml"), "utf8"); for (const eventType of ["opened", "synchronize", "reopened", "labeled", "unlabeled"]) { - assert.match(isolationYaml, new RegExp(`^ - ${eventType}$`, "m"), eventType); + assert.match(isolationYaml, new RegExp(`^ {6}- ${eventType}$`, "m"), eventType); } assert.doesNotMatch(ciYaml, /^ {6}- labeled$/m);