Skip to content

Commit

Permalink
Test commit - testing GH action on separate repo
Browse files Browse the repository at this point in the history
  • Loading branch information
sebryu committed Sep 25, 2023
1 parent 198bda2 commit b35b6b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/javascript/authorChecklist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand All @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit b35b6b9

Please sign in to comment.