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