1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-26 20:54:21 +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: steps:
# Checkout the repository to the GitHub Actions runner # Checkout the repository to the GitHub Actions runner
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
# Customize the ruby version depending on your needs # Customize the ruby version depending on your needs
- name: Setup Ruby - name: Setup Ruby
uses: actions/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
ruby-version: '2.6' ruby-version: '2.6'

View File

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