diff --git a/scripts/workflow/test-route/identify.js b/scripts/workflow/test-route/identify.js index 1348642f6..2a81f548e 100644 --- a/scripts/workflow/test-route/identify.js +++ b/scripts/workflow/test-route/identify.js @@ -1,6 +1,7 @@ const noFound = 'Auto: Route No Found'; module.exports = async ({ github, context, core }, body, number) => { + core.debug(`sender: ${context.payload.sender.login}`); core.debug(`body: ${body}`); const m = body.match(/```routes\r\n((.|\r\n)*)```/); core.debug(`match: ${m}`); @@ -22,7 +23,7 @@ module.exports = async ({ github, context, core }, body, number) => { res = m[1].trim().split('\r\n'); core.info(`routes detected: ${res}`); - if (res.length > 0 && res[0] === 'NOROUTE') { + if ((res.length > 0 && res[0] === 'NOROUTE') || context.payload.sender.login === 'dependabot-preview') { core.info('PR stated no route, passing'); await removeLabel(); await github.issues