We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9ec51a commit 730f6ebCopy full SHA for 730f6eb
1 file changed
lambdas/functions/webhook/src/webhook/index.ts
@@ -43,6 +43,11 @@ export async function publishOnEventBridge(
43
const eventType = headers['x-github-event'] as string;
44
checkEventIsSupported(eventType, config.allowedEvents);
45
46
+ // If workflow_job event, read the event and log relevant information for monitoring and debugging purposes.
47
+ if (eventType === 'workflow_job') {
48
+ readWorkflowJobEvent(headers, body);
49
+ }
50
+
51
const checkBodySizeResult = checkBodySize(body, headers);
52
53
logger.info(
0 commit comments