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:
parent
fd0dc57503
commit
cd37d40fdc
4
.github/workflows/brakeman-analysis.yml
vendored
4
.github/workflows/brakeman-analysis.yml
vendored
@ -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'
|
||||
|
||||
|
@ -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...
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user