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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
9add8e3a
Commit
9add8e3a
authored
Sep 04, 2018
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wording in Danger warning about MRs to non-master
If it's most of the time, then it's not all.
parent
a6ca7efb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
danger/metadata/Dangerfile
danger/metadata/Dangerfile
+1
-1
No files found.
danger/metadata/Dangerfile
View file @
9add8e3a
...
@@ -21,5 +21,5 @@ end
...
@@ -21,5 +21,5 @@ end
has_pick_into_stable_label
=
gitlab
.
mr_labels
.
find
{
|
label
|
label
.
start_with?
(
'Pick into'
)
}
has_pick_into_stable_label
=
gitlab
.
mr_labels
.
find
{
|
label
|
label
.
start_with?
(
'Pick into'
)
}
if
gitlab
.
branch_for_base
!=
"master"
&&
!
has_pick_into_stable_label
if
gitlab
.
branch_for_base
!=
"master"
&&
!
has_pick_into_stable_label
warn
"Most of the time,
all
merge requests should target `master`. Otherwise, please set the relevant `Pick into X.Y` label."
warn
"Most of the time, merge requests should target `master`. Otherwise, please set the relevant `Pick into X.Y` label."
end
end
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