diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-14 12:10:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-14 12:10:15 +0300 |
commit | 0e0ec3ddd5528b1d2114606158344226debabdc9 (patch) | |
tree | e20a3a21304d33479e85e6dc26b365ea139eeceb /app/models/project_ci_cd_setting.rb | |
parent | 54a8c42f35399da6e259baef16b9cc9be287d59e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/project_ci_cd_setting.rb')
-rw-r--r-- | app/models/project_ci_cd_setting.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project_ci_cd_setting.rb b/app/models/project_ci_cd_setting.rb index c0c2ea42d46..b025326c6f8 100644 --- a/app/models/project_ci_cd_setting.rb +++ b/app/models/project_ci_cd_setting.rb @@ -16,6 +16,7 @@ class ProjectCiCdSetting < ApplicationRecord allow_nil: true default_value_for :forward_deployment_enabled, true + default_value_for :job_token_scope_enabled, true def forward_deployment_enabled? super && ::Feature.enabled?(:forward_deployment_enabled, project, default_enabled: true) |