Skip to content

Introduce ENV vars for source repository

What does this MR do?

Adds two ENV vars to CI environment: CI_EXTERNAL_PULL_REQUEST_SOURCE_REPOSITORY and CI_EXTERNAL_PULL_REQUEST_TARGET_REPOSITORY

These are available on external pull request jobs and should allow better integrations by customers.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #223831 (closed)

Edited by Rafael Dohms

Merge request reports