diff options
Diffstat (limited to 'app/finders/ci/auth_job_finder.rb')
-rw-r--r-- | app/finders/ci/auth_job_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/ci/auth_job_finder.rb b/app/finders/ci/auth_job_finder.rb index d207a522aa8..2dbdcb3c472 100644 --- a/app/finders/ci/auth_job_finder.rb +++ b/app/finders/ci/auth_job_finder.rb @@ -16,7 +16,7 @@ module Ci validate_job!(job) - if job.user && Feature.enabled?(:ci_scoped_job_token, job.project, default_enabled: :yaml) + if job.user job.user.set_ci_job_token_scope!(job) end end |