summaryrefslogtreecommitdiff
path: root/app/models/ci
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-07-31 21:59:04 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:10 +0900
commite9924687147b1222fa2df3765a1e3c37662028a2 (patch)
treeaee3d554f695a51f669dd845c93ae0c7d9b39ccd /app/models/ci
parent81002745184df28fc9d969afc524986279c653bb (diff)
downloadgitlab-ce-e9924687147b1222fa2df3765a1e3c37662028a2.tar.gz
ini
Diffstat (limited to 'app/models/ci')
-rw-r--r--app/models/ci/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb
index 906a76ec560..05b45be5e91 100644
--- a/app/models/ci/runner.rb
+++ b/app/models/ci/runner.rb
@@ -5,7 +5,7 @@ module Ci
RUNNER_QUEUE_EXPIRY_TIME = 60.minutes
ONLINE_CONTACT_TIMEOUT = 1.hour
AVAILABLE_SCOPES = %w[specific shared active paused online].freeze
- FORM_EDITABLE = %i[description tag_list active run_untagged locked].freeze
+ FORM_EDITABLE = %i[description tag_list active run_untagged locked protected].freeze
has_many :builds
has_many :runner_projects, dependent: :destroy # rubocop:disable Cop/ActiveRecordDependent