From 8c74515780ea4f00def44ce7c17cfe6b5500602a Mon Sep 17 00:00:00 2001 From: anc95 <1481988258@qq.com> Date: Fri, 1 Mar 2024 11:19:25 +0800 Subject: [PATCH] update action code --- action/index.cjs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/action/index.cjs b/action/index.cjs index 3f42dc2..27aedd0 100644 --- a/action/index.cjs +++ b/action/index.cjs @@ -148172,10 +148172,9 @@ const robot = (app) => { } const pull_request = context.payload.pull_request; if (pull_request.state === 'closed' || - pull_request.locked || - pull_request.draft) { - console.log('invalid event paylod'); - return 'invalid event paylod'; + pull_request.locked) { + console.log('invalid event payload'); + return 'invalid event payload'; } const target_label = process.env.TARGET_LABEL; if (target_label &&