We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 674326c commit fce1927Copy full SHA for fce1927
index.js
@@ -78,6 +78,11 @@ async function commentOnMergablePRs() {
78
process.exit(0)
79
}
80
81
+ if (!codeowners.users.length) {
82
+ console.log("This PR does not have any code-owners")
83
+ process.exit(0)
84
+ }
85
+
86
const ourSignature = "<!-- Message About Merging -->"
87
const comments = await octokit.issues.listComments({ ...thisRepo, issue_number: pr.number })
88
const existingComment = comments.data.find(c => c.body.includes(ourSignature))
0 commit comments