Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 82 additions & 29 deletions .github/workflows/pr-sous-chef.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions actions/setup/js/safe_outputs_handlers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ const { getOrGenerateTemporaryId } = require("./temporary_id.cjs");
const { parseAllowedExtensionsEnv } = require("./allowed_extensions_helpers.cjs");
const { sanitizeTitle, applyTitlePrefix } = require("./sanitize_title.cjs");
const { parseDeduplicateByTitle, normalizeTitleForDedup, findDuplicateByTitle } = require("./issue_title_dedup.cjs");
const {
validateCreatePullRequestIntent,
validatePushToPullRequestBranchIntent,
validateCreateIssueIntent,
validateAddCommentIntent,
} = require("./intent_probe.cjs");
const { validateCreatePullRequestIntent, validatePushToPullRequestBranchIntent, validateCreateIssueIntent, validateAddCommentIntent } = require("./intent_probe.cjs");

/**
* @param {string} error
Expand Down
8 changes: 4 additions & 4 deletions actions/setup/js/safe_outputs_handlers.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ describe("safe_outputs_handlers", () => {
branch: "docs/pr-17198-test-from-main-1853f10f924372d4",
title: "test",
body: "test",
}),
})
).toContain("Refusing to record an exploratory pull request");
expect(
validateCreatePullRequestIntent({
branch: "feature/fix-real-bug",
title: "Fix retry loop",
body: "Describe the actual fix",
}),
})
).toBeNull();
});

Expand All @@ -136,13 +136,13 @@ describe("safe_outputs_handlers", () => {
validatePushToPullRequestBranchIntent({
branch: "feature/probe-auth",
message: "test",
}),
})
).toContain("Refusing to record an exploratory pull request branch update");
expect(
validatePushToPullRequestBranchIntent({
branch: "feature/real-follow-up",
message: "Apply review fixes",
}),
})
).toBeNull();
});
});
Expand Down
Loading