Skip to main content
Share Your Experience: Take the 2024 Developer Survey
1 vote
Accepted

Restrict access to trigger the GitLab pipeline job

I had a requirement for a job to run manually and only select users should run the job. Below is the rule: - if: $CI_PIPELINE_SOURCE == "web" && $GITLAB_USER_LOGIN == "<...
Arslan Zaidi's user avatar
1 vote

GitLab CI: How to properly push file to a repo using ci file?

From https://docs.gitlab.com/ee/ci/jobs/ci_job_token.html: You can’t use a job token to push to a repository, but issue 389060 proposes to change this behavior. Project/group scoped access tokens ...
Gabor Szabad's user avatar
1 vote

GitLab CI: How to properly push file to a repo using ci file?

Are you attempting to push to the same git repo that the CI is running against? If so, GitLab CI jobs do not have permission to write to their respective repo, at least not by default. If you really ...
Laurence Gonsalves's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible