Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9ab06d8a
Commit
9ab06d8a
authored
Feb 21, 2020
by
Doug Stull
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add classification for overcommit
- noticed none existed
parent
c5e2288b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
lib/gitlab/danger/helper.rb
lib/gitlab/danger/helper.rb
+2
-0
spec/lib/gitlab/danger/helper_spec.rb
spec/lib/gitlab/danger/helper_spec.rb
+2
-0
No files found.
lib/gitlab/danger/helper.rb
View file @
9ab06d8a
...
...
@@ -131,6 +131,8 @@ module Gitlab
%r{
\A
rubocop/cop/migration(/|
\.
rb)}
=>
:database
,
%r{
\A
(
\.
gitlab-ci
\.
yml
\z
|
\.
gitlab
\/
ci)}
=>
:engineering_productivity
,
%r{
\A\.
overcommit
\.
yml
\.
example
\z
}
=>
:engineering_productivity
,
%r{
\A
tooling/overcommit/}
=>
:engineering_productivity
,
%r{Dangerfile
\z
}
=>
:engineering_productivity
,
%r{
\A
(ee/)?(danger/|lib/gitlab/danger/)}
=>
:engineering_productivity
,
%r{
\A
(ee/)?scripts/}
=>
:engineering_productivity
,
...
...
spec/lib/gitlab/danger/helper_spec.rb
View file @
9ab06d8a
...
...
@@ -218,6 +218,8 @@ describe Gitlab::Danger::Helper do
'scripts/foo'
|
:engineering_productivity
'lib/gitlab/danger/foo'
|
:engineering_productivity
'ee/lib/gitlab/danger/foo'
|
:engineering_productivity
'.overcommit.yml.example'
|
:engineering_productivity
'tooling/overcommit/foo'
|
:engineering_productivity
'lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml'
|
:backend
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment