Skip to content

Commit

Permalink
chore: set default lock reason
Browse files Browse the repository at this point in the history
  • Loading branch information
dessant committed Feb 22, 2020
1 parent ef39464 commit ff66922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const schema = Joi.object({

issueLockReason: Joi.string()
.valid('resolved', 'off-topic', 'too heated', 'spam', '')
.default(''),
.default('resolved'),

prLockInactiveDays: Joi.number()
.min(0)
Expand Down Expand Up @@ -164,7 +164,7 @@ const schema = Joi.object({

prLockReason: Joi.string()
.valid('resolved', 'off-topic', 'too heated', 'spam', '')
.default(''),
.default('resolved'),

processOnly: extendedJoi
.processOnly()
Expand Down

0 comments on commit ff66922

Please sign in to comment.