diff options
author | Valery Sizov <valery@gitlab.com> | 2015-04-29 12:02:56 +0000 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-04-29 12:02:56 +0000 |
commit | 3bbd2f55a299b31a702b7ae6aa2624e5116bc8e8 (patch) | |
tree | a12013f06b9392e899e0b965584318600bdc2cef /app/models/commit.rb | |
parent | 5f4de8f91e6e75e2d70e199156a813d9608a0fe3 (diff) | |
parent | 35192d047ea094ceb024b0595d8b0ce30a24a633 (diff) | |
download | gitlab-ci-3bbd2f55a299b31a702b7ae6aa2624e5116bc8e8.tar.gz |
Merge branch 'ci_skip_fix' into 'master'
Fix 'ci skip' tag
https://dev.gitlab.org/gitlab/gitlab-ci/issues/206
See merge request !88
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index bfc7878..bc33350 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -58,10 +58,6 @@ class Commit < ActiveRecord::Base project.gitlab? end - def ci_skip? - !!(git_commit_message =~ /(\[ci skip\])/) - end - def git_author_name commit_data[:author][:name] if commit_data && commit_data[:author] end |