Add a lock reason with "resolved"

This commit is contained in:
Henry Zhu
2018-04-30 15:33:31 -07:00
committed by GitHub
parent e17b9dd98e
commit fb6ffbad3d

View File

@@ -28,7 +28,11 @@ module.exports = class Lock {
await this.context.github.issues.lock({
owner,
repo,
number: issue.number
number: issue.number,
lock_reason: 'resolved',
headers: {
accept: 'application/vnd.github.sailor-v-preview+json'
}
});
}
}