Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-24 15:08:36 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-24 15:08:36 +0300
commit4720346c2e10e1ff62a20b39dfc9866eb88858e6 (patch)
tree1b277cb86d928b3372a714d21b5e068c5b9d66f1 /app/services
parent028c7bdc315c3770f2ccc86f1100d90a5f702cad (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services')
-rw-r--r--app/services/ci/job_token_scope/add_project_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/job_token_scope/add_project_service.rb b/app/services/ci/job_token_scope/add_project_service.rb
index 4f745042f07..704aa28f8c5 100644
--- a/app/services/ci/job_token_scope/add_project_service.rb
+++ b/app/services/ci/job_token_scope/add_project_service.rb
@@ -5,7 +5,7 @@ module Ci
class AddProjectService < ::BaseService
include EditScopeValidations
- def execute(target_project, direction: :outbound)
+ def execute(target_project, direction: :inbound)
validate_edit!(project, target_project, current_user)
link = allowlist(direction)