Skip to content

Update documentation re: git protocol restriction and CI_JOB_TOKEN

Andrew Evans requested to merge 415580-docs-git-protocol-ci-token into master

What does this MR do and why?

Update documentation re: git protocol restriction and CI_JOB_TOKEN

The current documentation notes an exception to the "restrict git protocol" setting for CI / CD jobs, but does not explain that this includes all uses of the CI_JOB_TOKEN . This change updates the documentation to more carefully explain the implementation of the CI carve-out on git protocol restrictions.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-02-06_at_2.20.49_PM Screenshot_2024-02-06_at_2.20.59_PM

How to set up and validate locally

  1. Visit this path in your local or review env for gitlab-docs: https://docs.gitlab.com/ee/administration/settings/visibility_and_access_controls.html#configure-enabled-git-access-protocols

Related to #415580

Merge request reports

Loading