mirror of
https://github.com/dessant/lock-threads.git
synced 2026-03-13 01:27:03 -04:00
feat: add a lock reason with "resolved" (#3)
Add a lock reason with "resolved"
This commit is contained in:
@@ -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'
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user