Skip to content

Add $CI_ENVIRONMENT_ACTION as a pre-defined environment variable

Jamie Reid requested to merge ci_env_action_variable into master

What does this MR do?

This change exposes the environment:action: declared in a pipeline job as a pre-defined environment variable, $CI_ENVIRONMENT_ACTION

Closes #300113 (closed)

Screenshots (strongly suggested)

image

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
Edited by Jamie Reid

Merge request reports

Loading