chore: auto-fix lint & formatting [skip ci]

This commit is contained in:
github-actions[bot] committed 2026-08-02 23:31:48 +00:00
1 parent b14b9f0bde
commit d6c15a32cd
6 files changed
+64 -63

No files matched your search

+1 -4
View File
@@ -220,10 +220,7 @@ describe("message title spec", () => {
description: "Deploy request from octocat",
html_url: "https://github.com/acme/widget/deployments/1",
};
const msg = formatEvent(
route,
event("deployment", { deployment, repository: repo, sender }),
);
const msg = formatEvent(route, event("deployment", { deployment, repository: repo, sender }));
expect(msg.title).toBe("acme/widget: Deployment to `production` — created");
expect(msg.fields![0].value).toBe("🚀 created");
expect(msg.fields![1].value).toBe("production");
+5 -1
View File
@@ -63,7 +63,11 @@ export function formatDeployment(
return buildMessage(
{
author,
title: t("events.deployment.title", { repo: repo ?? t("common.repository"), env, state: "created" }),
title: t("events.deployment.title", {
repo: repo ?? t("common.repository"),
env,
state: "created",
}),
url: deployment.html_url ?? deployment.statuses_url,
color: GITHUB_COLORS.deployment_pending,
fields,