File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,16 @@ async function commentOnMergablePRs() {
30
30
const pr = context . payload . pull_request
31
31
const thisRepo = { owner : context . repo . owner , repo : context . repo . repo }
32
32
33
- core . info ( `\n\nLooking at PR: '${ pr . title } ' to see if the changed files all fit inside one set of codeowners to make a comment` )
33
+ core . info ( `\n\nLooking at PR: '${ pr . title } ' to see if the changed files all fit inside one set of code-owners to make a comment` )
34
34
35
35
const co = new Codeowners ( cwd ) ;
36
- core . info ( `Codeowners file found at: ${ co . codeownersFilePath } ` )
36
+ core . info ( `Code-owners file found at: ${ co . codeownersFilePath } ` )
37
37
38
38
const changedFiles = await getPRChangedFiles ( octokit , thisRepo , pr . number )
39
39
core . info ( `Changed files: \n\n - ${ changedFiles . join ( "\n - " ) } ` )
40
40
41
41
const codeowners = findCodeOwnersForChangedFiles ( changedFiles , cwd )
42
- core . info ( `Codeowners : \n\n - ${ changedFiles . join ( "\n - " ) } ` )
42
+ core . info ( `Code-owners : \n\n - ${ changedFiles . join ( "\n - " ) } ` )
43
43
44
44
if ( ! codeowners . length ) {
45
45
console . log ( "This PR does not have any code-owners" )
You can’t perform that action at this time.
0 commit comments