We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27d6fce commit 7fbd6eeCopy full SHA for 7fbd6ee
lib/handle-pull-request-change.js
@@ -2,7 +2,7 @@ module.exports = handlePullRequestChange
2
3
async function handlePullRequestChange (robot, context) {
4
const title = context.payload.pull_request.title
5
- const isWip = /\bwip\b/i.test(title)
+ const isWip = /\b(wip|do not merge)\b/i.test(title)
6
const status = isWip ? 'pending' : 'success'
7
8
console.log(`Updating PR "${title}" (${context.payload.pull_request.html_url}): ${status}`)
0 commit comments