From 49d931b7c91ffe6924a6e7ac751417b24ad9cd65 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Mon, 25 Jan 2021 21:10:07 +0800 Subject: [PATCH] chore: fix dependabot name --- scripts/workflow/test-route/identify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/workflow/test-route/identify.js b/scripts/workflow/test-route/identify.js index 2a81f548e6..1677d62c62 100644 --- a/scripts/workflow/test-route/identify.js +++ b/scripts/workflow/test-route/identify.js @@ -23,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') || context.payload.sender.login === 'dependabot-preview') { + if ((res.length > 0 && res[0] === 'NOROUTE') || context.payload.sender.login === 'dependabot-preview[bot]') { core.info('PR stated no route, passing'); await removeLabel(); await github.issues