Commit be8cde74 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'dcoy-master-patch-21104' into 'master'

Docs: Include role requirement for upstream submodule project

See merge request gitlab-org/gitlab!71833
parents 6330bbe1 88ab726c
......@@ -59,3 +59,8 @@ To make submodules work correctly in CI/CD jobs:
variables:
GIT_SUBMODULE_STRATEGY: recursive
```
If you use the [`CI_JOB_TOKEN`](jobs/ci_job_token.md) to clone a submodule in a
pipeline job, the user executing the job must be assigned to a role that has
[permission](../user/permissions.md#gitlab-cicd-permissions) to trigger a pipeline
in the upstream submodule project.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment