Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -0,0 +1,21 @@
import fs from "node:fs";
import { describe, expect, it } from "vitest";
const REPORT_WORKFLOWS = [".gitea/workflows/coverage.yml", ".gitea/workflows/bundle-budget.yml"].filter((workflowPath) =>
fs.existsSync(workflowPath),
);
describe("Gitea report workflow concurrency", () => {
if (REPORT_WORKFLOWS.length === 0) {
it("allows the temporary report-workflow pause", () => {
expect(REPORT_WORKFLOWS).toEqual([]);
});
} else {
it.each(REPORT_WORKFLOWS)("cancels superseded PR runs in %s", (workflowPath) => {
const workflow = fs.readFileSync(workflowPath, "utf8");
expect(workflow).toMatch(/^concurrency:\n group: \$\{\{ github\.workflow \}\}-\$\{\{ github\.event\.pull_request\.number \|\| github\.ref \}\}\n cancel-in-progress: true$/m);
});
}
});