From 0d65dec50b74b51f2b9b2a39c6a9882fb8e599e5 Mon Sep 17 00:00:00 2001 From: FLYBYME Date: Sun, 1 Oct 2023 21:22:34 -0400 Subject: [PATCH] work --- services/github.service.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/services/github.service.js b/services/github.service.js index 0899f3c..c363b08 100644 --- a/services/github.service.js +++ b/services/github.service.js @@ -282,8 +282,12 @@ module.exports = { commits: payload.commits, head: payload.head_commit }; + } else if (payload.repository) { + strippedPayload = { + name: payload.repository.name.toLowerCase(), + namespace: payload.repository.owner.name.toLowerCase(), + }; } - return { action: action, key: key,