Skip to content

Commit bd6c7e9

Browse files
committed
better code owners
1 parent 5781965 commit bd6c7e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ async function commentOnMergablePRs() {
3030
const pr = context.payload.pull_request
3131
const thisRepo = { owner: context.repo.owner, repo: context.repo.repo }
3232

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`)
3434

3535
const co = new Codeowners(cwd);
36-
core.info(`Codeowners file found at: ${co.codeownersFilePath}`)
36+
core.info(`Code-owners file found at: ${co.codeownersFilePath}`)
3737

3838
const changedFiles = await getPRChangedFiles(octokit, thisRepo, pr.number)
3939
core.info(`Changed files: \n\n - ${changedFiles.join("\n - ")}`)
4040

4141
const codeowners = findCodeOwnersForChangedFiles(changedFiles, cwd)
42-
core.info(`Codeowners: \n\n - ${changedFiles.join("\n - ")}`)
42+
core.info(`Code-owners: \n\n - ${changedFiles.join("\n - ")}`)
4343

4444
if (!codeowners.length) {
4545
console.log("This PR does not have any code-owners")

0 commit comments

Comments
 (0)