diff --git a/services/github/github-issues.service.js b/services/github/github-issues.service.js index bc906b4bc668583bda892263cb6d3d4f36ef2a6f..cd2a09b3811702f25757118ff5126f201f44345c 100644 --- a/services/github/github-issues.service.js +++ b/services/github/github-issues.service.js @@ -132,6 +132,36 @@ module.exports = class GithubIssues extends GithubAuthV4Service { }, documentation, }, + { + title: 'GitHub closed issues by-label', + pattern: 'issues-closed/:user/:repo/:label', + namedParams: { + user: 'badges', + repo: 'shields', + label: 'service-badge', + }, + staticPreview: { + label: 'service-badge issues', + message: '452 closed', + color: 'yellow', + }, + documentation, + }, + { + title: 'GitHub closed issues by-label', + pattern: 'issues-closed-raw/:user/:repo/:label', + namedParams: { + user: 'badges', + repo: 'shields', + label: 'service-badge', + }, + staticPreview: { + label: 'closed service-badge issues', + message: '452', + color: 'yellow', + }, + documentation, + }, { title: 'GitHub pull requests', pattern: 'issues-pr/:user/:repo', @@ -205,7 +235,7 @@ module.exports = class GithubIssues extends GithubAuthV4Service { message: '8 open', color: 'yellow', }, - keywords: ['pullrequests', 'pr'], + keywords: ['pullrequest', 'pr'], documentation, }, { @@ -221,7 +251,39 @@ module.exports = class GithubIssues extends GithubAuthV4Service { message: '8', color: 'yellow', }, - keywords: ['pullrequests', 'pr'], + keywords: ['pullrequest', 'pr'], + documentation, + }, + { + title: 'GitHub closed pull requests by-label', + pattern: 'issues-pr-closed/:user/:repo/:label', + namedParams: { + user: 'badges', + repo: 'shields', + label: 'service-badge', + }, + staticPreview: { + label: 'service-badge pull requests', + message: '835 closed', + color: 'yellow', + }, + keywords: ['pullrequest', 'pr'], + documentation, + }, + { + title: 'GitHub closed pull requests by-label', + pattern: 'issues-pr-closed-raw/:user/:repo/:label', + namedParams: { + user: 'badges', + repo: 'shields', + label: 'service-badge', + }, + staticPreview: { + label: 'closed service-badge pull requests', + message: '835', + color: 'yellow', + }, + keywords: ['pullrequest', 'pr'], documentation, }, ]