File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20948,6 +20948,8 @@ const chunk = (arr, len) => {
2094820948 return chunks
2094920949}
2095020950
20951+ let monoRepoCount = 0
20952+
2095120953const getRepos = async () => {
2095220954 const GITHUB_TOKEN = core.getInput('github_token')
2095320955 const repositoryType = core.getInput('repository_type') || 'all'
@@ -20989,7 +20991,6 @@ const getRepos = async () => {
2098920991 core.warning(`Unable to find ${path} in ${repo.name}, not processing`)
2099020992 }
2099120993 }
20992- core.info(`Completed ${repo.name}`)
2099320994 return repoData
2099420995 }
2099520996
@@ -21002,6 +21003,7 @@ const getRepos = async () => {
2100221003 const targetDefinition = await parseServiceDefinition(repo, target, pushMissing)
2100321004 targetDefinition.fromLocation = true
2100421005 repoData.push(...targetDefinition)
21006+ monoRepoCount++
2100521007 }
2100621008 } else {
2100721009 core.warning(`Location file in ${repo._repo.name} at ${path} specified without valid spec.targets, will be skipped`)
@@ -21057,7 +21059,7 @@ const getRepos = async () => {
2105721059 return 0
2105821060 })
2105921061
21060- core.info(`Processed ${repoData.length} matching repositories`)
21062+ core.info(`Processed ${repoData.length} total repositories, after adding ${monoRepoCount} from mono-repos `)
2106121063 return repoData
2106221064}
2106321065
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ const chunk = (arr, len) => {
1212 return chunks
1313}
1414
15-
16- const monoRepoCount = 0 ;
15+ let monoRepoCount = 0
1716
1817const getRepos = async ( ) => {
1918 const GITHUB_TOKEN = core . getInput ( 'github_token' )
@@ -55,7 +54,7 @@ const getRepos = async () => {
5554 } else {
5655 core . warning ( `Unable to find ${ path } in ${ repo . name } , not processing` )
5756 }
58- }
57+ }
5958 return repoData
6059 }
6160
You can’t perform that action at this time.
0 commit comments