Seneca-CDOT / ostep-dashboard

Displays daily updates for the OSTEP team.
MIT License
4 stars 9 forks source link

Issues/89 help wanted priority regex #99

Closed manekenpix closed 5 years ago

manekenpix commented 5 years ago

Closes #89

Added checking if an issue is labelled help wanted using regex:

helpWantedRegExp = /help( |-)?wanted/i;
hasHelpWanted = (label) => {
  return helpWantedRegExp.test(label.name);
}

Also added checking if PRs have a priority label and, if not, adding a default one priority: medium.