File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ const chunk = (arr, len) => {
1212 return chunks
1313}
1414
15+
16+ const monoRepoCount = 0 ;
17+
1518const getRepos = async ( ) => {
1619 const GITHUB_TOKEN = core . getInput ( 'github_token' )
1720 const repositoryType = core . getInput ( 'repository_type' ) || 'all'
@@ -52,8 +55,7 @@ const getRepos = async () => {
5255 } else {
5356 core . warning ( `Unable to find ${ path } in ${ repo . name } , not processing` )
5457 }
55- }
56- core . info ( `Completed ${ repo . name } ` )
58+ }
5759 return repoData
5860 }
5961
@@ -66,6 +68,7 @@ const getRepos = async () => {
6668 const targetDefinition = await parseServiceDefinition ( repo , target , pushMissing )
6769 targetDefinition . fromLocation = true
6870 repoData . push ( ...targetDefinition )
71+ monoRepoCount ++
6972 }
7073 } else {
7174 core . warning ( `Location file in ${ repo . _repo . name } at ${ path } specified without valid spec.targets, will be skipped` )
@@ -121,7 +124,7 @@ const getRepos = async () => {
121124 return 0
122125 } )
123126
124- core . info ( `Processed ${ repoData . length } matching repositories` )
127+ core . info ( `Processed ${ repoData . length } total repositories, after adding ${ monoRepoCount } from mono-repos ` )
125128 return repoData
126129}
127130
You can’t perform that action at this time.
0 commit comments