Skip to content

Commit 0b55c35

Browse files
chore: fix schema for GH actions
1 parent b7daf62 commit 0b55c35

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/github/github-actions.service.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ const { documentation } = require('./github-helpers')
66
const { BaseSvgScrapingService } = require('..')
77

88
const schema = Joi.object({
9-
message: isBuildStatus,
9+
message: Joi.alternatives()
10+
.try(isBuildStatus, Joi.equal('no status'))
11+
.required(),
1012
}).required()
1113

1214
module.exports = class GithubActions extends BaseSvgScrapingService {

0 commit comments

Comments
 (0)