Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
b3a47a6f
Unverified
Commit
b3a47a6f
authored
Apr 29, 2016
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Danger] Fail if there are merges from upstream in the PR
parent
20bb1ea3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
Dangerfile
Dangerfile
+4
-0
Gemfile.lock
Gemfile.lock
+3
-3
No files found.
Dangerfile
View file @
b3a47a6f
...
@@ -8,3 +8,7 @@
...
@@ -8,3 +8,7 @@
fail("`fdescribe` left in tests (#{file})") if contents =~ /^\w*fdescribe/
fail("`fdescribe` left in tests (#{file})") if contents =~ /^\w*fdescribe/
end
end
end
end
if commits.any? { |c| c.message =~ /^Merge branch '#{branch_for_merge}'/ }
fail("Please rebase to get rid of the merge commits in this PR")
end
Gemfile.lock
View file @
b3a47a6f
...
@@ -121,7 +121,7 @@ GEM
...
@@ -121,7 +121,7 @@ GEM
minitest (~> 5.1)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
tzinfo (~> 1.1)
addressable (2.
3.6
)
addressable (2.
4.0
)
ast (2.2.0)
ast (2.2.0)
awesome_print (1.6.1)
awesome_print (1.6.1)
bacon (1.2.0)
bacon (1.2.0)
...
@@ -136,7 +136,7 @@ GEM
...
@@ -136,7 +136,7 @@ GEM
colored (1.2)
colored (1.2)
crack (0.4.2)
crack (0.4.2)
safe_yaml (~> 1.0.0)
safe_yaml (~> 1.0.0)
danger (0.7.
2
)
danger (0.7.
4
)
claide
claide
colored (~> 1.2)
colored (~> 1.2)
faraday
faraday
...
@@ -263,4 +263,4 @@ DEPENDENCIES
...
@@ -263,4 +263,4 @@ DEPENDENCIES
xcodeproj!
xcodeproj!
BUNDLED WITH
BUNDLED WITH
1.1
1.2
1.1
2.1
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