Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 204acf1

Browse files
feat: Log workflow id in webhook (#2511)
feat: added workflow id. Co-authored-by: navdeepg2021 <[email protected]>
1 parent bb929bd commit 204acf1

File tree

1 file changed

+1
-0
lines changed
  • modules/webhook/lambdas/webhook/src/webhook

1 file changed

+1
-0
lines changed

Diff for: modules/webhook/lambdas/webhook/src/webhook/handler.ts

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export async function handle(headers: IncomingHttpHeaders, body: string): Promis
4343
LogFields.fields.action = payload.action;
4444
LogFields.fields.name = payload[githubEvent].name;
4545
LogFields.fields.status = payload[githubEvent].status;
46+
LogFields.fields.workflowJobId = payload[githubEvent].id;
4647
LogFields.fields.started_at = payload[githubEvent]?.started_at;
4748

4849
/*

0 commit comments

Comments
 (0)