From d993d59ddf48a92a04a3c7511d257bd17c05786d Mon Sep 17 00:00:00 2001 From: Hani Date: Tue, 10 Oct 2023 15:24:37 -0400 Subject: [PATCH] fix stale config bug --- dist/index.js | 2 +- index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 5bd54cc..dff2dfb 100644 --- a/dist/index.js +++ b/dist/index.js @@ -10072,7 +10072,7 @@ const run = ({ configPath, localConfigPath, remoteConfigURL, GitHubConfigOwner, return; } } - yield titleCheckFailed({ config }); + yield titleCheckFailed({ config: { LABEL, CHECKS, MESSAGES } }); } catch (error) { core.info(error); diff --git a/index.ts b/index.ts index 1916da0..420abae 100644 --- a/index.ts +++ b/index.ts @@ -309,7 +309,7 @@ const run = async ({ } } - await titleCheckFailed({ config }); + await titleCheckFailed({ config: { LABEL, CHECKS, MESSAGES } }); } catch (error) { core.info(error); }