1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

(dev) fix brakeman setup

+ improved overcommit checking
This commit is contained in:
Sylvain 2022-12-16 14:50:11 +01:00
parent fd0dc57503
commit cd37d40fdc
2 changed files with 4 additions and 4 deletions

View File

@ -17,11 +17,11 @@ jobs:
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
# Customize the ruby version depending on your needs
- name: Setup Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'

View File

@ -12,7 +12,7 @@ CommitMsg:
MessageFormat:
enabled: true
pattern: ^(\([a-z0-9]+\) [\w ]+(\n\n.+)?)|(Version (\d+\.?)+)|(Merge branch .*)
expected_pattern_message: (type) title\n\ndescription
pattern: ^(\((doc|bug|feat|security|dev|i18n|api|test|quality|ui|merge)\) [\w ]++(\n\n.+)?)|(Version (\d+\.?)+)|(Merge branch .*)
expected_pattern_message: (doc|bug|feat|security|dev|i18n|api|test|quality|ui|merge) title\n\ndescription
sample_message: (bug) no validation on date\n\nThe birthdate was not validated...