Overview
This release introduces the following changes and features
- Drops the
allowed-types
andallowed-scopes
options as they're unintuitive. Now title, commit, and branch validation is configured viatitle_pattern
,commit_pattern
, andbranch_pattern
with regex for more advanced configuration. - Introduce branch name validation which can be configured with
branch_pattern
option. No more silly branch names 🎉 - Add a new ability to turn off some validation rules, such as title, commit, and branch validation which can be disabled by filling the option with empty strings.
- Renames some options to a shorter variant of it while updating the documentation about it, namely:
check_draft
->draft
link_issue
->issue
ignore_bot
->bot
- Add workflow reporting system. Find the actual cause why a pull request is invalid.
- Add a better logging system, workflow runs are correctly logged in your action workflow log.
- Improve general performance, whitelist and validations are now being run in parallel instead of synchronously.
For developers
This release fixes the most glaring problem in this project: dirty code, which makes it difficult to maintain and develop this project even for us! Now, the project has been totally rewritten using best practices and carefully documented although it is not perfect.