Skip to content

Commit 691f05c

Browse files
chore: remove noisy log
1 parent c7b5d1d commit 691f05c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

apps/webservice/src/app/api/github/webhook/handlers/workflow_run.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ import { buildConflictUpdateColumns, eq, takeFirstOrNull } from "@ctrlplane/db";
44
import { db } from "@ctrlplane/db/client";
55
import * as schema from "@ctrlplane/db/schema";
66
import { updateJob } from "@ctrlplane/job-dispatch";
7-
import { logger } from "@ctrlplane/logger";
87
import { ReservedMetadataKey } from "@ctrlplane/validators/conditions";
98
import { exitedStatus, JobStatus } from "@ctrlplane/validators/jobs";
109

11-
const log = logger.child({ module: "github-webhook" });
12-
1310
type Conclusion = Exclude<WorkflowRunEvent["workflow_run"]["conclusion"], null>;
1411
const convertConclusion = (conclusion: Conclusion): schema.JobStatus => {
1512
if (conclusion === "success") return JobStatus.Successful;
@@ -68,11 +65,6 @@ const updateLinks = async (jobId: string, links: Record<string, string>) =>
6865
});
6966

7067
export const handleWorkflowWebhookEvent = async (event: WorkflowRunEvent) => {
71-
log.info("Handling github workflow run event", {
72-
externalId: event.workflow_run.id,
73-
event,
74-
});
75-
7668
const {
7769
id,
7870
status: externalStatus,

0 commit comments

Comments
 (0)