fix(github): raise Barnacle active PR limit

This commit is contained in:
Vincent Koc
2026-05-02 09:37:42 -07:00
parent ac607044f1
commit 1b951c565e
2 changed files with 4 additions and 4 deletions

View File

@@ -204,7 +204,7 @@ describe("barnacle-auto-response", () => {
expect(managedLabelSpecs["r: support"].description).toContain("support requests");
expect(managedLabelSpecs["r: false-positive"].description).toContain("false positive");
expect(managedLabelSpecs["r: third-party-extension"].description).toContain("ClawHub");
expect(managedLabelSpecs["r: too-many-prs"].description).toContain("ten active PRs");
expect(managedLabelSpecs["r: too-many-prs"].description).toContain("twenty active PRs");
for (const label of Object.values(candidateLabels)) {
expect(managedLabelSpecs[label]).toBeDefined();
@@ -495,7 +495,7 @@ describe("barnacle-auto-response", () => {
);
expect(calls.createComment).not.toContainEqual(
expect.objectContaining({
body: expect.stringContaining("more than 10 active PRs"),
body: expect.stringContaining("more than 20 active PRs"),
}),
);
expect(calls.update).not.toContainEqual(expect.objectContaining({ state: "closed" }));