feat: add a lock reason with "resolved" (#3)

Add a lock reason with "resolved"
This commit is contained in:
Armin Sebastian
2018-05-01 06:28:38 +03:00
committed by GitHub

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'
}
});
}
}