From 204acf1d1d25322c42353505aacc5594cc4e6f9c Mon Sep 17 00:00:00 2001 From: GuptaNavdeep1983 Date: Tue, 11 Oct 2022 16:33:35 -0400 Subject: [PATCH] feat: Log workflow id in webhook (#2511) feat: added workflow id. Co-authored-by: navdeepg2021 --- modules/webhook/lambdas/webhook/src/webhook/handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/webhook/lambdas/webhook/src/webhook/handler.ts b/modules/webhook/lambdas/webhook/src/webhook/handler.ts index 4ccede0376..6b3d47c86d 100644 --- a/modules/webhook/lambdas/webhook/src/webhook/handler.ts +++ b/modules/webhook/lambdas/webhook/src/webhook/handler.ts @@ -43,6 +43,7 @@ export async function handle(headers: IncomingHttpHeaders, body: string): Promis LogFields.fields.action = payload.action; LogFields.fields.name = payload[githubEvent].name; LogFields.fields.status = payload[githubEvent].status; + LogFields.fields.workflowJobId = payload[githubEvent].id; LogFields.fields.started_at = payload[githubEvent]?.started_at; /*