Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 493 Bytes

add-labels.md

File metadata and controls

15 lines (9 loc) · 493 Bytes

Task add-needs-review-label

What does it do?

It adds specified labels to each newly opened pull request, except pull request created by greenkeeper.

Should it be used as a hook or cron?

Hook for pull_request event.

What dependencies are needed?

  • githubClient - already authenticated instance of npm's github
  • labels - (string[]) labels to add
  • ignored - (string[]) ignore PR if it has at least one of those labels