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
a887b81f
Commit
a887b81f
authored
Mar 01, 2021
by
Mikolaj Wawrzyniak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dangerbot pipeline failures
parent
c3111e93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
danger/product_intelligence/Dangerfile
danger/product_intelligence/Dangerfile
+2
-2
No files found.
danger/product_intelligence/Dangerfile
View file @
a887b81f
...
...
@@ -69,7 +69,7 @@ snowplow_changed_files = all_changed_files.select do |file|
matching_files?
(
file
,
extension:
'.haml'
,
pattern:
%r{data:
\{
track}
)
end
required_dictionary_update_changed_files
=
dictionary_changed_file
.
select
do
|
file
|
required_dictionary_update_changed_files
=
metrics_changed_files
.
select
do
|
file
|
matching_files?
(
file
,
extension:
'.yml'
,
pattern:
dictionary_pattern
)
end
...
...
@@ -89,7 +89,7 @@ if matching_changed_files.any?
warn
format
(
CHANGED_FILES_MESSAGE
,
changed_files:
helper
.
markdown_list
(
matching_changed_files
),
engineers_group:
mention
)
fail
format
(
UPDATE_DICTIONARY_MESSAGE
)
if
metrics_changed_files
.
any?
&&
required_dictionary_update_changed_files
.
empty?
fail
format
(
UPDATE_DICTIONARY_MESSAGE
)
if
required_dictionary_update_changed_files
.
any?
&&
dictionary_changed_file
.
empty?
labels
=
[
'product intelligence'
]
labels
<<
'product intelligence::review pending'
unless
helper
.
mr_has_labels?
(
'product intelligence::approved'
)
...
...
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