diff --git a/index.js b/index.js index f2346bd..7d4452e 100644 --- a/index.js +++ b/index.js @@ -5,5 +5,5 @@ module.exports = robot => { // For more information on building apps: // https://probot.github.io/docs/ robot.on('pull_request.opened', commitlint) - robot.on('pull_request.edited', commitlint) + robot.on('pull_request.synchronize', commitlint) }