zeke / semantic-pull-requests

:robot: Let the robots take care of the semantic versioning
https://github.com/apps/semantic-pull-requests
Apache License 2.0
1.24k stars 122 forks source link

Scopes aren't being respected #82

Closed joemckie closed 2 years ago

joemckie commented 4 years ago

The plugin doesn't seem to be blocking incorrect scopes. The project is in a monorepo so would like to limit the scopes to the packages available 😄

Here is my config:

titleOnly: true
allowMergeCommits: false
scopes:
  - core-repo
  - admin-frontend
  - api
  - constants
  - logger
  - mailer
  - splash-page

And this is the output:

Screenshot 2020-02-16 at 16 56 05 Screenshot 2020-02-16 at 16 56 10

Only squash commits are allowed in the repository, if that makes a difference.

zeke commented 2 years ago

This issue is old and inactive so I'm going to close it. If anyone is still affected by this, let me know and I'll re-open it.