Skip to content

Commit

Permalink
Merge pull request #3 from district09/feature/release_hotfix
Browse files Browse the repository at this point in the history
Add support for release & hotfix branches
  • Loading branch information
zero2one authored Aug 23, 2022
2 parents f2f1300 + 43eb9c6 commit 0a152ba
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

All Notable changes to the **Quality Assurance - PHP** package.

## [1.1.0]

### Added

- Add support for release/ branches.
- Add support for hotfix/ branches.
- Add support for Merge commit messages.
- Add support for RELEASE commit messages.

## [1.0.1]

### Added

- Add php compatibility checker.

## [1.0.0]

### Added
Expand All @@ -12,4 +27,6 @@ Initial setup of the qa-php package:
- Add support for PHP 7.3+
- Add support for PHP 8.0+

[1.1.0]: https://github.com/district09/php_package_qa-php/compare/1.0.1...1.1.0
[1.0.1]: https://github.com/district09/php_package_qa-php/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/district09/php_package_qa-php/releases/tag/1.0.0
4 changes: 2 additions & 2 deletions configs/grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ grumphp:
- theme
git_branch_name:
whitelist:
- "#^main|^master|^develop|^\\d+(\\.\\d+)?\\.x|^release/\\d+\\.\\d+\\.\\d+|^feature/([A-Z][A-Z0-9]+-\\d+|[a-z][a-z0-9]*(-[a-z0-9]+)*)$#"
- "#^main|^master|^develop|^\\d+(\\.\\d+)?\\.x|^(release|hotfix)/\\d+\\.\\d+\\.\\d+|^feature/([A-Z][A-Z\\d]+-\\d+|[a-z][a-z\\d]*(-[a-z\\d]+)*)$#"
git_commit_message:
matchers:
- "/^([A-Z][A-Z0-9]+-\\d+(, [A-Z][A-Z0-9]+-\\d+)*: )?(Add|Change|Fix|Update|Remove|Refactor) /"
- "/^([A-Z][A-Z\\d]+-\\d+(, [A-Z][A-Z\\d]+-\\d+)*: )?(Add|Change|Fix|Update|Remove|Refactor|Merge|RELEASE) /"
case_insensitive: false
phpcpd:
exclude:
Expand Down

0 comments on commit 0a152ba

Please sign in to comment.