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
62292aab
Commit
62292aab
authored
Apr 28, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow the product intelligence Dangerfile to work locally
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
8f3d253e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
danger/product_intelligence/Dangerfile
danger/product_intelligence/Dangerfile
+2
-1
No files found.
danger/product_intelligence/Dangerfile
View file @
62292aab
...
...
@@ -81,11 +81,12 @@ matching_changed_files = usage_data_changed_files +
snowplow_changed_files
if
matching_changed_files
.
any?
warn
format
(
CHANGED_FILES_MESSAGE
,
changed_files:
helper
.
markdown_list
(
matching_changed_files
))
fail
format
(
UPDATE_DICTIONARY_MESSAGE
)
if
required_dictionary_update_changed_files
.
any?
&&
dictionary_changed_file
.
empty?
return
unless
helper
.
ci?
labels
=
[]
labels
<<
'product intelligence'
unless
helper
.
mr_has_labels?
(
'product intelligence'
)
labels
<<
'product intelligence::review pending'
unless
helper
.
mr_has_labels?
([
'product intelligence::approved'
,
'product intelligence::review pending'
])
...
...
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