From b35b6b9802bb8d7890daf4867da189e322d124d7 Mon Sep 17 00:00:00 2001 From: Sebastian Szewczyk Date: Mon, 25 Sep 2023 14:07:59 +0200 Subject: [PATCH] Test commit - testing GH action on separate repo --- .github/actions/javascript/authorChecklist/index.js | 5 +++-- .../javascript/authorChecklist/newComponentCategory.js | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/javascript/authorChecklist/index.js b/.github/actions/javascript/authorChecklist/index.js index f06fc28ef866..cdadcedb3f1d 100644 --- a/.github/actions/javascript/authorChecklist/index.js +++ b/.github/actions/javascript/authorChecklist/index.js @@ -243,6 +243,7 @@ function detectReactComponent(code) { }; function detectFunction(changedFiles) { + console.log('detectFunction', changedFiles); const filteredFiles = _.filter(changedFiles, (file) => file.name && (file.name.endsWith('.js') || file.name.endsWith('.jsx') || file.name.endsWith('.ts') || file.name.endsWith('.tsx'))); return _.some(filteredFiles, (file) => detectReactComponent(file.body)); } @@ -259,8 +260,8 @@ module.exports = { /***/ ((module) => { const CONST = { - GITHUB_OWNER: 'Expensify', - APP_REPO: 'App', + GITHUB_OWNER: 'software-mansion-labs', + APP_REPO: 'expensify-app-fork', APPLAUSE_BOT: 'applausebot', OS_BOTIFY: 'OSBotify', LABELS: { diff --git a/.github/actions/javascript/authorChecklist/newComponentCategory.js b/.github/actions/javascript/authorChecklist/newComponentCategory.js index 50d50a51980b..9449f3ec7473 100644 --- a/.github/actions/javascript/authorChecklist/newComponentCategory.js +++ b/.github/actions/javascript/authorChecklist/newComponentCategory.js @@ -43,6 +43,7 @@ function detectReactComponent(code) { }; function detectFunction(changedFiles) { + console.log('detectFunction', changedFiles); const filteredFiles = _.filter(changedFiles, (file) => file.name && (file.name.endsWith('.js') || file.name.endsWith('.jsx') || file.name.endsWith('.ts') || file.name.endsWith('.tsx'))); return _.some(filteredFiles, (file) => detectReactComponent(file.body)); }