gitlab-org--gitlab-foss/spec
Chris Wilson e670cb271e Fix updating merge_when_build_succeeds via merge API endpoint
When updating a merge request via the `/merge` endpoint we
check the `mergeable` and `mergeable_state` status, these will return
`false` if the application option only_allow_merge_if_pipeline_succeeds is
enabled. We should skip CI checks if the request uses the
merge_when_pipeline_succeeds param

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/22740
2017-04-24 20:51:05 +10:00
..
bin
config
controllers Refactor add_users method for project and group 2017-04-21 18:38:10 +03:00
db/production
factories Don't delete a branch involved in an open merge request in "Delete all merged branches" service 2017-04-19 07:56:08 -07:00
features Adding animation for all dropdown 2017-04-21 15:05:38 +00:00
finders Merge branch 'update-droplab-to-webpack-version' into new-resolvable-discussion 2017-04-06 13:47:52 +01:00
fixtures After Trace#limit, we seek to the next line in case 2017-04-13 21:44:26 +08:00
helpers submodule_links: handle urls that don't end with .git 2017-04-21 10:54:31 -04:00
initializers Enable Style/Proc cop for rubocop 2017-04-02 12:48:43 +03:00
javascripts Merge branch 'form-focus-previous-incorrect-form' into 'master' 2017-04-21 17:02:07 +00:00
lib Merge branch '30672-versioned-markdown-cache' into 'master' 2017-04-21 19:25:39 +00:00
mailers Merge branch 'update-droplab-to-webpack-version' into new-resolvable-discussion 2017-04-06 13:47:52 +01:00
migrations Add a post-deploy migration to migrate from former Redis activity to DB 2017-04-14 15:20:55 +02:00
models Merge branch '30672-versioned-markdown-cache' into 'master' 2017-04-21 19:25:39 +00:00
policies Merge branch 'siemens/gitlab-ce-fix/subgroup-hide-button' into 'master' 2017-04-12 09:26:16 +00:00
presenters Remove TriggerSchedulePresenter. This will go in another MR. 2017-04-06 23:46:59 +09:00
requests Fix updating merge_when_build_succeeds via merge API endpoint 2017-04-24 20:51:05 +10:00
routing Remove format from end of URL for URLs that take a ref or path 2017-04-17 19:03:21 -05:00
rubocop/cop Add remove_concurrent_index to database helper 2017-04-06 09:53:57 +11:00
serializers Review changes, used eq instead of match 2017-04-17 13:18:40 +01:00
services Move records to the ghost user in a transaction. 2017-04-24 06:46:10 +00:00
support Move records to the ghost user in a transaction. 2017-04-24 06:46:10 +00:00
tasks Expand components version specification format to allow branches 2017-04-13 17:32:00 -03:00
uploaders
views Fix container registry navigation menu highlights 2017-04-18 20:49:52 +00:00
workers Add new ScheduleUpdateUserActivityWorker and UpdateUserActivityWorker 2017-04-14 15:20:55 +02:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Allow to enable rspec_profiling for a branch on the CI 2017-04-13 14:24:35 +02:00