GitLab¶
An example YAML file for configuring Uplift to run on GitLab. To ensure Uplift can push changes back to your repository, you will need to provide it with a project or group access token1 with the write_repository
permission.
- Prevents any dependencies, such as reports, from being unnecessarily copied into this job and causing the git checks to fail
To expose your access token within your pipeline you should add a CI/CD variable. In the above example, the access token is exposed through the GL_UPLIFT
variable.
-
It is best security practice to create an access token with the shortest possible expiration date. ↩