feat: add 2021 support to GitHub Hacktoberfest (#7086)

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
Caleb Cartwright
2021-10-04 10:00:14 -05:00
committed by GitHub
parent 4ad822c42e
commit 42a9ca6444

View File

@@ -60,7 +60,7 @@ export default class GithubHacktoberfestCombinedStatus extends GithubAuthV4Servi
static category = 'issue-tracking' static category = 'issue-tracking'
static route = { static route = {
base: 'github/hacktoberfest', base: 'github/hacktoberfest',
pattern: ':year(2019|2020)/:user/:repo', pattern: ':year(2019|2020|2021)/:user/:repo',
queryParamSchema, queryParamSchema,
} }
@@ -68,7 +68,7 @@ export default class GithubHacktoberfestCombinedStatus extends GithubAuthV4Servi
{ {
title: 'GitHub Hacktoberfest combined status', title: 'GitHub Hacktoberfest combined status',
namedParams: { namedParams: {
year: '2020', year: '2021',
user: 'snyk', user: 'snyk',
repo: 'snyk', repo: 'snyk',
}, },
@@ -82,7 +82,7 @@ export default class GithubHacktoberfestCombinedStatus extends GithubAuthV4Servi
{ {
title: 'GitHub Hacktoberfest combined status (suggestion label override)', title: 'GitHub Hacktoberfest combined status (suggestion label override)',
namedParams: { namedParams: {
year: '2020', year: '2021',
user: 'tmrowco', user: 'tmrowco',
repo: 'tmrowapp-contrib', repo: 'tmrowapp-contrib',
}, },
@@ -90,7 +90,7 @@ export default class GithubHacktoberfestCombinedStatus extends GithubAuthV4Servi
suggestion_label: 'help wanted', suggestion_label: 'help wanted',
}, },
staticPreview: this.render({ staticPreview: this.render({
year: '2020', year: '2021',
suggestedIssueCount: 12, suggestedIssueCount: 12,
contributionCount: 8, contributionCount: 8,
daysLeft: 15, daysLeft: 15,