Skip to content

Commit

Permalink
feat: add contribution type promotion (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
tenshiAMD committed Oct 4, 2022
1 parent 048b4e3 commit 8fc7c7e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/util/contribution-types.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const _ = require('lodash/fp')
const repo = require('../repo')

const defaultTypes = function(repoType) {
const defaultTypes = function (repoType) {
return {
a11y: {
symbol: '️️️️♿️',
Expand Down Expand Up @@ -136,9 +136,13 @@ const defaultTypes = function(repoType) {
symbol: '📹',
description: 'Videos',
},
promotion: {
symbol: '📣',
description: 'Promotion',
},
}
}

module.exports = function(options) {
module.exports = function (options) {
return _.assign(defaultTypes(options.repoType), options.types)
}

0 comments on commit 8fc7c7e

Please sign in to comment.