Skip to content

Commit

Permalink
feat: add a lock reason with "resolved" (#3)
Browse files Browse the repository at this point in the history
Add a lock reason with "resolved"
  • Loading branch information
Armin Sebastian authored May 1, 2018
2 parents e17b9dd + fb6ffba commit a5dbbcd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lock.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
});
}
}
Expand Down

0 comments on commit a5dbbcd

Please sign in to comment.