probot / ideas

Share ideas for new GitHub Apps built with Probot
96 stars 48 forks source link

Enforce labeling rules #93

Closed TravisEz13 closed 4 years ago

TravisEz13 commented 5 years ago

We require that one of a set of labels are applied.

Basically we require that a label that starts with cl- be applied before a PR is merged.

cyberhck commented 5 years ago

I should probably give this a try :)

cyberhck commented 5 years ago

https://github.com/apps/pull-request-label-enforcer hey @TravisEz13 do you care to give this a try?

GitHub
Build software better, together
GitHub is where people build software. More than 36 million people use GitHub to discover, fork, and contribute to over 100 million projects.
cyberhck commented 5 years ago

you do need a configuration file at .github/pr_labels.yml

invalidStatus: "pending"
labelRule:
  endsWith:
    - "g"
  values:
    - "bug"
    - "enhancement"
TravisEz13 commented 5 years ago

Can you add a license in the repo?

cyberhck commented 5 years ago

if you meant on the app's repo, I just did, thanks for the reminder. If this app solves your problem, maybe close the issue?