test: quantifier form in the on.push pin — biome rejects literal double spaces
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
d4409c3f42
commit
a5d108cbf2
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ describe("release.yml", () => {
|
|||
// YAML maps are last-key-wins: a second sibling push: key silently
|
||||
// replaces the first and kills a door (grok's round-2 catch — the tag
|
||||
// fallback had stopped triggering). Exactly ONE push key may exist.
|
||||
expect(RY.match(/^ push:$/gm)).toHaveLength(1);
|
||||
expect(RY.match(/^ {2}push:$/gm)).toHaveLength(1);
|
||||
expect(RY).toContain("startsWith(github.ref, 'refs/tags/')");
|
||||
expect(RY).toContain("github.ref == 'refs/heads/main'");
|
||||
expect(RY).toContain("commits/$GITHUB_SHA/pulls");
|
||||
|
|
|
|||
Loading…
Reference in a new issue